Shades of gray HTML and CSS color codes
September 28th, 2008
Gray colors are defined using an equal amount of power to all of the light sources. For all gray colors Red, Green, and Blue color values in RGB representation are equal.
The following list shows some shades of gray ranging from black to white. Names are shown for some well known and commonly used gray colors.
| Black | RGB(0,0,0) | #000000 |
| RGB(8,8,8) | #080808 | |
| RGB(16,16,16) | #101010 | |
| RGB(24,24,24) | #181818 | |
| RGB(32,32,32) | #202020 | |
| RGB(40,40,40) | #282828 | |
| RGB(48,48,48) | #303030 | |
| RGB(56,56,56) | #383838 | |
| RGB(64,64,64) | #404040 | |
| RGB(72,72,72) | #484848 | |
| RGB(80,80,80) | #505050 | |
| RGB(88,88,88) | #585858 | |
| RGB(96,96,96) | #606060 | |
| RGB(104,104,104) | #686868 | |
| Dimgray | RGB(105,105,105) | #696969 |
| RGB(112,112,112) | #707070 | |
| RGB(120,120,120) | #787878 | |
| Gray | RGB(128,128,128) | #808080 |
| RGB(136,136,136) | #888888 | |
| RGB(144,144,144) | #909090 | |
| RGB(152,152,152) | #989898 | |
| RGB(160,160,160) | #A0A0A0 | |
| RGB(168,168,168) | #A8A8A8 | |
| Darkgray | RGB(169,169,169) | #A9A9A9 |
| RGB(176,176,176) | #B0B0B0 | |
| RGB(184,184,184) | #B8B8B8 | |
| Silver | RGB(192,192,192) | #C0C0C0 |
| RGB(200,200,200) | #C8C8C8 | |
| RGB(208,208,208) | #D0D0D0 | |
| Lightgrey | RGB(211,211,211) | #D3D3D3 |
| Gainsboro | RGB(220,220,220) | #DCDCDC |
| RGB(216,216,216) | #D8D8D8 | |
| RGB(224,224,224) | #E0E0E0 | |
| RGB(232,232,232) | #E8E8E8 | |
| RGB(240,240,240) | #F0F0F0 | |
| Whitesmoke | RGB(245,245,245) | #F5F5F5 |
| RGB(248,248,248) | #F8F8F8 | |
| White | RGB(255,255,255) | #FFFFFF |
To get gray colors not listed here just vary parameters between the two shown and remember that values for R, G and B should always be the same.
Entry Filed under: web design