Grey
From Wikipedia, the free encyclopedia
- This article is about the color; for other uses of "grey", see Grey (disambiguation).
- For other uses of "gray", see Gray (disambiguation).
| Gray | ||
|---|---|---|
| — Color coordinates — | ||
| Hex triplet | #808080 | |
| RGBB | (r, g, b) | (128, 128, 128) |
| CMYKH | (c, m, y, k) | (0, 0, 0, 50) |
| HSV | (h, s, v) | (-°, 0%, 50%) |
| B: Normalized to [0–255] (byte) H: Normalized to [0–100] (hundred) | ||
Gray or Grey (see spelling differences) is the color between white and black. It is a color seen commonly in nature. In pigment, or subtractive color (CMYK), it is created by adding black. In light, or additive color (RGB), it is created by adding equal amounts of R, G, and B, with R,G,B greater than 0% and less than 100% (greater than 0 and less than 255, in the 8-bit notation commonly used in computing). Depending on the color temperature of the light (measured in kelvins of a black body radiator), the human eye can interpret the same object as either gray or some other color, with colder light adding a yellow-orange hue and warmer light adding a blue hue.
Two colors are called complementary colors if gray is produced when two colors are combined. Gray is its own complement. Consequently, gray remains grey when its color spectrum is inverted, and therefore has no opposite, or alternately is its own opposite. On a more abstract level, it could be argued that colors which produce gray when mixed, such as black and white, are the opposite of grey while separated. However, this could not be considered the literal opposite of gray.
[edit] Color coordinates
- RGB
- All the gray values in greyscale are solutions of the inequality:
- <math> 0 \le ( R = G = B ) \le 255 </math>
- CMYK
- All the grey values in greyscale are solutions of the inequality:
- <math> 0 \le K \le 255 </math> when <math> C = M = Y = 0 \,</math>.
- In theory it is also possible to achieve a grayscale with perfect inks when:
- <math> C = M = Y \,</math> and <math> K = 0 \,</math>
- HSL
- All the gray values in greyscale fit one of the following three equalities:
- <math>S=0</math> or <math>L=0</math> (black) or <math>L=1</math> (white).
- HSV
- All the gray values in grayscale are solutions of the inequality:
- <math> 0 \le V \le 1 </math> when <math> H = S = 0 \,</math> .
[edit] Web colors
There are several shades of grey available for use with HTML and CSS. Oddly, all are spelled with an a except lightgrey: this can cause unexpected errors (this discrepancy is inherited from the X11 color list). Note that the three "slategray" colors are not themselves on the greyscale, but are slightly saturated towards cyan (green + blue).
|
[edit] See also
| Web colors | black | silver | gray | white | red | maroon | purple | fuchsia | green | lime | olive | yellow | orange | blue | navy | teal | aqua |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca:Gris cs:Šedá da:Grå de:Grau el:Γκρι es:Gris eo:Griza fr:Gris ko:회색 id:Abu-abu it:Grigio he:אפור lt:Pilka nl:Grijs ja:灰色 no:Grå nn:Grå pl:Szary pt:Cinza (cor) qu:Uqi ru:Серый цвет simple:Gray sk:Sivá fi:Harmaa sv:Grå vi:Xám tr:Gri uk:Сірий колір zh:灰色

