Web colours are the hues used to display web pages on the World Wide Web, as well as the techniques used to identify and describe them. 

In some circumstances, colours can be described using their conventional English names, hexadecimal format (a hex triplet), or an RGB triplet. 

To create colour values, colour tool or other graphics programme is frequently employed. 

Hexadecimal colour codes can sometimes be indicated by adding leading number sign (#) to the notation. 


The intensity of color's red, green, and blue components—each represented by eight bits—is used to define it. 

Thus, web colour inside the sRGB gamut can be described using 24 bits, giving total of 16,777,216 possible colours.

Colors that are not sRGB

The colour space is theoretically an unbounded extrapolation of sRGB similar to scRGB because gamut can be determined in Cascading Style Sheets by making one or more of the red, green, and blue components negative or more than 100%. [3] This method of non-sRGB colour specification needs the RGB() function call. Because of the hexadecimal syntax, it is not possible (and thus impossible in legacy HTML documents that do not use CSS).
Due to the fact that both Mosaic and Netscape Navigator were initially X Window System applications, their first colour lists were based on the X11 colour names. The colorimetric definition for web colours, known as sRGB, is clear-cut and connects the chromaticities of a certain phosphor set, a specific transfer curve, an adaptive whitepoint, and viewing conditions. [4] When these

We care about your data and would love to use cookies to improve your experience.