The English used in this article or section may not be easy for everybody to understand. You can help Wikipedia by reading Wikipedia:How to write Simple English pages, then simplifying the article.(February 2012)
Web colors are colors used in designingwebpages, and the ways for describing and listing those colours.
There are several ways to chose colors for parts of webpages. Colors may be listed as an RGBtriplet (a set of three numbers) in hexadecimal format (a hex triplet). RGB triplet can make 16,777,216 different colors. Many common colors can also be chosen by their common English names. Often a color tool or other graphics software is used to create color values.
Each web color has its own definition, sRGB. This relates to the chromaticities of a single phosphor set, a given transfer curve, adaptive whitepoint, and viewingconditions. These have been chosen to be similar to many real-world monitors and viewing conditions. Even without color management, the colors created are fairly close to the given values. However, user agents can be different in the fidelity with which they show the colors. Better user agents use color management to create better color fidelity. This is important for Web-to-print applications.[1]
A hex triplet is a six-digit, three-byte number used in HTML, CSS, SVG, and other computer programs, to represent colors. The bytes represent the red, green and blue parts of the color. One byte represents a number in the range 00 to FF, or 0 to 255 in decimal notation. This represents the least (0) to the most (255) intensity of each of the color components. The hex triplet is formed by concatenating three bytes in hexadecimal notation, in the following order:
Byte 1: red value (color type red)
Byte 2: green value (color type green)
Byte 3: blue value (color type blue)
For example, consider the color where the red/green/blue values are decimal numbers: red=36, green=104, blue=160 (a greyish-blue color). The decimal numbers 36, 104 and 160 are similar to the numbers 24, 68 and A0 respectively. The hex triplet is obtained by combining the 6 hexadecimal digits together, 2468A0 in this example.
Formulated in 1997, there were originally 16 colors. Orange was added later to make a total of 17. The original 16 were part of something called the "Windows VGA template", meaning that they are the colors that can be used for actions like highlighting.[source?]
This chart shows selected HTML and X11 colors as well as selected unofficial consensus web colors developed by web designers since 2002. When entering code using the unofficial colors, the hex code of the color must be specified instead of writing the name of the color.