Skip to content
gohacks.dev
Web

CSS Named Colours

All 148 CSS named colours, from aliceblue to yellowgreen, with their hex and RGB values, searchable by name or value.

Free · No sign-up · Your inputs stay in your browser

Reference

CSS named colours

NameHexRGB
aliceblue#f0f8ffrgb(240 248 255)
antiquewhite#faebd7rgb(250 235 215)
aqua#00ffffrgb(0 255 255)
aquamarine#7fffd4rgb(127 255 212)
azure#f0ffffrgb(240 255 255)
beige#f5f5dcrgb(245 245 220)
bisque#ffe4c4rgb(255 228 196)
black#000000rgb(0 0 0)
blanchedalmond#ffebcdrgb(255 235 205)
blue#0000ffrgb(0 0 255)
blueviolet#8a2be2rgb(138 43 226)
brown#a52a2argb(165 42 42)
burlywood#deb887rgb(222 184 135)
cadetblue#5f9ea0rgb(95 158 160)
chartreuse#7fff00rgb(127 255 0)
chocolate#d2691ergb(210 105 30)
coral#ff7f50rgb(255 127 80)
cornflowerblue#6495edrgb(100 149 237)
cornsilk#fff8dcrgb(255 248 220)
crimson#dc143crgb(220 20 60)
cyan#00ffffrgb(0 255 255)
darkblue#00008brgb(0 0 139)
darkcyan#008b8brgb(0 139 139)
darkgoldenrod#b8860brgb(184 134 11)
darkgray#a9a9a9rgb(169 169 169)
darkgreen#006400rgb(0 100 0)
darkkhaki#bdb76brgb(189 183 107)
darkmagenta#8b008brgb(139 0 139)
darkolivegreen#556b2frgb(85 107 47)
darkorange#ff8c00rgb(255 140 0)
darkorchid#9932ccrgb(153 50 204)
darkred#8b0000rgb(139 0 0)
darksalmon#e9967argb(233 150 122)
darkseagreen#8fbc8frgb(143 188 143)
darkslateblue#483d8brgb(72 61 139)
darkslategray#2f4f4frgb(47 79 79)
darkturquoise#00ced1rgb(0 206 209)
darkviolet#9400d3rgb(148 0 211)
deeppink#ff1493rgb(255 20 147)
deepskyblue#00bfffrgb(0 191 255)
dimgray#696969rgb(105 105 105)
dodgerblue#1e90ffrgb(30 144 255)
firebrick#b22222rgb(178 34 34)
floralwhite#fffaf0rgb(255 250 240)
forestgreen#228b22rgb(34 139 34)
fuchsia#ff00ffrgb(255 0 255)
gainsboro#dcdcdcrgb(220 220 220)
ghostwhite#f8f8ffrgb(248 248 255)
gold#ffd700rgb(255 215 0)
goldenrod#daa520rgb(218 165 32)
gray#808080rgb(128 128 128)
green#008000rgb(0 128 0)
greenyellow#adff2frgb(173 255 47)
honeydew#f0fff0rgb(240 255 240)
hotpink#ff69b4rgb(255 105 180)
indianred#cd5c5crgb(205 92 92)
indigo#4b0082rgb(75 0 130)
ivory#fffff0rgb(255 255 240)
khaki#f0e68crgb(240 230 140)
lavender#e6e6fargb(230 230 250)
lavenderblush#fff0f5rgb(255 240 245)
lawngreen#7cfc00rgb(124 252 0)
lemonchiffon#fffacdrgb(255 250 205)
lightblue#add8e6rgb(173 216 230)
lightcoral#f08080rgb(240 128 128)
lightcyan#e0ffffrgb(224 255 255)
lightgoldenrodyellow#fafad2rgb(250 250 210)
lightgray#d3d3d3rgb(211 211 211)
lightgreen#90ee90rgb(144 238 144)
lightpink#ffb6c1rgb(255 182 193)
lightsalmon#ffa07argb(255 160 122)
lightseagreen#20b2aargb(32 178 170)
lightskyblue#87cefargb(135 206 250)
lightslategray#778899rgb(119 136 153)
lightsteelblue#b0c4dergb(176 196 222)
lightyellow#ffffe0rgb(255 255 224)
lime#00ff00rgb(0 255 0)
limegreen#32cd32rgb(50 205 50)
linen#faf0e6rgb(250 240 230)
magenta#ff00ffrgb(255 0 255)
maroon#800000rgb(128 0 0)
mediumaquamarine#66cdaargb(102 205 170)
mediumblue#0000cdrgb(0 0 205)
mediumorchid#ba55d3rgb(186 85 211)
mediumpurple#9370dbrgb(147 112 219)
mediumseagreen#3cb371rgb(60 179 113)
mediumslateblue#7b68eergb(123 104 238)
mediumspringgreen#00fa9argb(0 250 154)
mediumturquoise#48d1ccrgb(72 209 204)
mediumvioletred#c71585rgb(199 21 133)
midnightblue#191970rgb(25 25 112)
mintcream#f5fffargb(245 255 250)
mistyrose#ffe4e1rgb(255 228 225)
moccasin#ffe4b5rgb(255 228 181)
navajowhite#ffdeadrgb(255 222 173)
navy#000080rgb(0 0 128)
oldlace#fdf5e6rgb(253 245 230)
olive#808000rgb(128 128 0)
olivedrab#6b8e23rgb(107 142 35)
orange#ffa500rgb(255 165 0)
orangered#ff4500rgb(255 69 0)
orchid#da70d6rgb(218 112 214)
palegoldenrod#eee8aargb(238 232 170)
palegreen#98fb98rgb(152 251 152)
paleturquoise#afeeeergb(175 238 238)
palevioletred#db7093rgb(219 112 147)
papayawhip#ffefd5rgb(255 239 213)
peachpuff#ffdab9rgb(255 218 185)
peru#cd853frgb(205 133 63)
pink#ffc0cbrgb(255 192 203)
plum#dda0ddrgb(221 160 221)
powderblue#b0e0e6rgb(176 224 230)
purple#800080rgb(128 0 128)
rebeccapurple#663399rgb(102 51 153)
red#ff0000rgb(255 0 0)
rosybrown#bc8f8frgb(188 143 143)
royalblue#4169e1rgb(65 105 225)
saddlebrown#8b4513rgb(139 69 19)
salmon#fa8072rgb(250 128 114)
sandybrown#f4a460rgb(244 164 96)
seagreen#2e8b57rgb(46 139 87)
seashell#fff5eergb(255 245 238)
sienna#a0522drgb(160 82 45)
silver#c0c0c0rgb(192 192 192)
skyblue#87ceebrgb(135 206 235)
slateblue#6a5acdrgb(106 90 205)
slategray#708090rgb(112 128 144)
snow#fffafargb(255 250 250)
springgreen#00ff7frgb(0 255 127)
steelblue#4682b4rgb(70 130 180)
tan#d2b48crgb(210 180 140)
teal#008080rgb(0 128 128)
thistle#d8bfd8rgb(216 191 216)
tomato#ff6347rgb(255 99 71)
turquoise#40e0d0rgb(64 224 208)
violet#ee82eergb(238 130 238)
wheat#f5deb3rgb(245 222 179)
white#ffffffrgb(255 255 255)
whitesmoke#f5f5f5rgb(245 245 245)
yellow#ffff00rgb(255 255 0)
yellowgreen#9acd32rgb(154 205 50)

The 148 keywords of CSS Color 4, from the X11 list; grey spellings (darkgrey, slategrey) are accepted as aliases of the gray ones. rebeccapurple was added in 2014 in memory of Eric Meyer's daughter. Named colours are fine in prototypes, but a design system should name colours for their purpose, not their hue.

Where the names come from

The list descends from the X11 colour names and was adopted by early browsers, then standardised. gray and grey spellings are both accepted for every grey. rebeccapurple, #663399, was added in 2014 in memory of Rebecca Meyer, Eric Meyer's daughter. The full list is in CSS Color Level 4.

In a design system

Named colours are convenient in prototypes and debugging outlines. A design system should name colours by purpose (surface, border, danger) rather than by hue, so the theme can change without renaming anything.

Share

Frequently asked questions

How many named colours does CSS have?
148 keywords, counting the gray/grey alias pairs separately, plus transparent and currentcolor.
Is red in CSS pure red?
Yes, red is #ff0000. Many named colours are not what the name suggests: darkgray is lighter than gray.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser with JavaScript. Nothing you type or paste is sent to our server or stored.

Keep planning

Similar tools