• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Ensuring Visual Appeal > Hexadecimal colors

Hexadecimal colors

Hexadecimal colors are the way browsers like to see color. When you're using HTML or CSS code to produce colors, you will, most likely, use hexadecimal colors to do it. You can use other methods of displaying colors (such as using color names), but hexadecimal is the preferred standard. Hexadecimal (or hex) uses six digits or letters to display colors. These digits are actually seen as three pairs of numbers; the first pair represents the amount of red in the color, the second pair represents the amount of green in the color, and the third pair (you guessed it right) represents the amount of blue. You use hexadecimal colors for background colors, font (typeface) colors, and link colors.

Computer monitors use light to display images, so RGB is what they're using. Hexadecimal is just a way to communicate with the browser about what color you want a Web element to be.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint