1 / 10

HTML Colors

HTML Colors. Contains 16,777,216 Colors. How do I add colors to my web page?. <font color=“red”> My Car is red </font>. Notepad. Works with the “Standard” colors: Red, Green, Blue, White, Black,…. Not Recommended method. My Car is red. Browser.

taylor
Download Presentation

HTML Colors

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML Colors Contains 16,777,216 Colors

  2. How do I add colors to my web page? <font color=“red”> My Car is red </font> Notepad Works with the “Standard” colors: Red, Green, Blue, White, Black,… Not Recommended method My Car is red Browser

  3. How do I add colors to my web page? The “Code” An example • Colors are shown using a 6 digit code 123456 • The digits are separated into 3 groups of 2 123456

  4. 123456 Blue Red Green How do I add colors to my web page? The “Code” An example • Colors are shown using a 6 digits 123456 • The digits are separated into 3 groups of 2 123456 • Each group is a color: Red, Green, Blue Known as RGB colors Higher the Number - The brighter the color !

  5. How do I add colors to my web page? The “Code” An example R G B 123456 • Each group is a color: Red, Green, Blue • The digits are in Hexadecimal 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 , A, B, C, D, E, F

  6. How do I add colors to my web page? The “Code” • Examples R G B Black = No Colors = 000000 White = All colors equal = FFFFFF Red = Only Red = FF0000 Green = Only Green = 00FF00 Blue = Only Blue = 0000FF = Red and Green w/ NO Blue Yellow = FFFF00

  7. Red = FF0000 How do I add colors to my web page? The “Code” “#FF0000”

  8. How do I add colors to my web page? <font color=“#FF0000”> My Car is red </font> Notepad My Car is red Browser

More Related