Web color

Web colors are colors used in designing webpages, 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 RGB triplet (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.

The first versions of Mosaic and Netscape Navigator used the X11 color names as the base for their color lists. This was because they both started as X Window System applications.

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 viewing conditions. 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]

Hex triplet

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.

Other Languages
العربية: ألوان الويب
azərbaycanca: Veb rəngləri
বাংলা: ওয়েব রঙ
Bân-lâm-gú: Web sek-chhái
беларуская: Колеры HTML
български: Уеб цветове
bosanski: HTML-boje
català: Colors HTML
čeština: Bezpečné barvy
Deutsch: Webfarbe
English: Web colors
español: Colores web
Esperanto: Koloroj por TTT
français: Couleur du Web
한국어: 웹 색상
Հայերեն: HTML գույներ
हिन्दी: वेब रंग
Bahasa Indonesia: Warna web
Basa Jawa: Werna wèb
ქართული: ვებ-ფერები
Kiswahili: Kigezo:Rangi
македонски: Семрежни бои
Bahasa Melayu: Warna sesawang
нохчийн: Беснаш HTML
norsk: Webfarger
română: Culori web
русский: Цвета HTML
slovenščina: Spletna barva
svenska: HTML-färger
Tagalog: Web kulay
Türkçe: Web renkleri
українська: Кольори HTML
اردو: ویب رنگ
Zazaki: Kodê rengan
中文: 网页颜色
Lingua Franca Nova: Colores de HTML