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

Colors

Colors

You can specify colors in CSS in any of five ways:

  1. Using a predefined color name (e.g., "BLUE").

  2. Using a full hexadecimal color value preceded by a hash mark (e.g., "#00FF00").

  3. Using a compressed hexadecimal color value preceded by a hash mark, where each number is duplicated (e.g., "#0F0").

  4. Using a three-digit RGB ("Red Green Blue") color value preceded by "RGB", with each digit specifying the amount of color to be used on a scale from 0 to 255, and the digits contained in round brackets (e.g., RGB(0,255,0)).

  5. Using a three-value RGB percentage color value preceded by "RGB", with each digit specifying the percentage of color to be used on a scale from 0% to 100%, and the percentage values contained within round brackets (e.g., RGB(0%,100%,0%)).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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