Skip to main content

HTML Color Names — All 147 CSS Named Colors with Hex / RGB / HSL

HTML named colors — all 147 CSS color names with hex/RGB/HSL, searchable + sortable.

  • Runs locally
  • Category Color & Design
  • Best for Moving from a visual idea to reusable color values.
Sort:
147 of 147 colors
black
rgb(0, 0, 0)
hsl(0, 0%, 0%)
maroon
rgb(128, 0, 0)
hsl(0, 100%, 25%)
darkred深红
rgb(139, 0, 0)
hsl(0, 100%, 27%)
brown
rgb(165, 42, 42)
hsl(0, 59%, 41%)
dimgray暗灰
rgb(105, 105, 105)
hsl(0, 0%, 41%)
dimgrey暗灰 (英式)
rgb(105, 105, 105)
hsl(0, 0%, 41%)
firebrick砖红
rgb(178, 34, 34)
hsl(0, 68%, 42%)
gray
rgb(128, 128, 128)
hsl(0, 0%, 50%)
grey灰 (英式)
rgb(128, 128, 128)
hsl(0, 0%, 50%)
red
rgb(255, 0, 0)
hsl(0, 100%, 50%)
indianred印度红
rgb(205, 92, 92)
hsl(0, 53%, 58%)
rosybrown玫瑰棕
rgb(188, 143, 143)
hsl(0, 25%, 65%)
darkgray深灰
rgb(169, 169, 169)
hsl(0, 0%, 66%)
darkgrey深灰 (英式)
rgb(169, 169, 169)
hsl(0, 0%, 66%)
lightcoral浅珊瑚
rgb(240, 128, 128)
hsl(0, 79%, 72%)
silver
rgb(192, 192, 192)
hsl(0, 0%, 75%)
lightgray浅灰
rgb(211, 211, 211)
hsl(0, 0%, 83%)
lightgrey浅灰 (英式)
rgb(211, 211, 211)
hsl(0, 0%, 83%)
gainsboro庚斯博罗灰
rgb(220, 220, 220)
hsl(0, 0%, 86%)
whitesmoke烟白
rgb(245, 245, 245)
hsl(0, 0%, 96%)
snow
rgb(255, 250, 250)
hsl(0, 100%, 99%)
white
rgb(255, 255, 255)
hsl(0, 0%, 100%)
salmon鲑色
rgb(250, 128, 114)
hsl(6, 93%, 71%)
mistyrose雾玫瑰
rgb(255, 228, 225)
hsl(6, 100%, 94%)
tomato番茄红
rgb(255, 99, 71)
hsl(9, 100%, 64%)
darksalmon深鲑色
rgb(233, 150, 122)
hsl(15, 72%, 70%)
orangered橙红
rgb(255, 69, 0)
hsl(16, 100%, 50%)
coral珊瑚
rgb(255, 127, 80)
hsl(16, 100%, 66%)
lightsalmon浅鲑色
rgb(255, 160, 122)
hsl(17, 100%, 74%)
sienna
rgb(160, 82, 45)
hsl(19, 56%, 40%)
saddlebrown马鞍棕
rgb(139, 69, 19)
hsl(25, 76%, 31%)
chocolate巧克力
rgb(210, 105, 30)
hsl(25, 75%, 47%)
seashell海贝
rgb(255, 245, 238)
hsl(25, 100%, 97%)
sandybrown沙棕
rgb(244, 164, 96)
hsl(28, 87%, 67%)
peachpuff蜜桃
rgb(255, 218, 185)
hsl(28, 100%, 86%)
peru秘鲁
rgb(205, 133, 63)
hsl(30, 59%, 53%)
linen亚麻
rgb(250, 240, 230)
hsl(30, 67%, 94%)
darkorange深橙
rgb(255, 140, 0)
hsl(33, 100%, 50%)
bisque陶坯黄
rgb(255, 228, 196)
hsl(33, 100%, 88%)
tan茶色
rgb(210, 180, 140)
hsl(34, 44%, 69%)
burlywood硬木色
rgb(222, 184, 135)
hsl(34, 57%, 70%)
antiquewhite古董白
rgb(250, 235, 215)
hsl(34, 78%, 91%)
navajowhite纳瓦白
rgb(255, 222, 173)
hsl(36, 100%, 84%)
blanchedalmond杏仁白
rgb(255, 235, 205)
hsl(36, 100%, 90%)
papayawhip番木瓜
rgb(255, 239, 213)
hsl(37, 100%, 92%)
moccasin鹿皮鞋
rgb(255, 228, 181)
hsl(38, 100%, 85%)
orange
rgb(255, 165, 0)
hsl(39, 100%, 50%)
wheat麦色
rgb(245, 222, 179)
hsl(39, 77%, 83%)
oldlace旧蕾丝
rgb(253, 245, 230)
hsl(39, 85%, 95%)
floralwhite花卉白
rgb(255, 250, 240)
hsl(40, 100%, 97%)
darkgoldenrod深金菊
rgb(184, 134, 11)
hsl(43, 89%, 38%)
goldenrod金菊黄
rgb(218, 165, 32)
hsl(43, 74%, 49%)
cornsilk玉米丝白
rgb(255, 248, 220)
hsl(48, 100%, 93%)
gold
rgb(255, 215, 0)
hsl(51, 100%, 50%)
khaki卡其
rgb(240, 230, 140)
hsl(54, 77%, 75%)
lemonchiffon柠檬绸黄
rgb(255, 250, 205)
hsl(54, 100%, 90%)
palegoldenrod苍金菊
rgb(238, 232, 170)
hsl(55, 67%, 80%)
darkkhaki深卡其
rgb(189, 183, 107)
hsl(56, 38%, 58%)
olive橄榄
rgb(128, 128, 0)
hsl(60, 100%, 25%)
yellow
rgb(255, 255, 0)
hsl(60, 100%, 50%)
lightgoldenrodyellow浅金菊黄
rgb(250, 250, 210)
hsl(60, 80%, 90%)
beige米白
rgb(245, 245, 220)
hsl(60, 56%, 91%)
lightyellow浅黄
rgb(255, 255, 224)
hsl(60, 100%, 94%)
ivory象牙白
rgb(255, 255, 240)
hsl(60, 100%, 97%)
olivedrab橄榄褐
rgb(107, 142, 35)
hsl(80, 60%, 35%)
yellowgreen黄绿
rgb(154, 205, 50)
hsl(80, 61%, 50%)
darkolivegreen深橄榄绿
rgb(85, 107, 47)
hsl(82, 39%, 30%)
greenyellow绿黄
rgb(173, 255, 47)
hsl(84, 100%, 59%)
lawngreen草坪绿
rgb(124, 252, 0)
hsl(90, 100%, 49%)
chartreuse黄绿
rgb(127, 255, 0)
hsl(90, 100%, 50%)
darkgreen深绿
rgb(0, 100, 0)
hsl(120, 100%, 20%)
green绿
rgb(0, 128, 0)
hsl(120, 100%, 25%)
forestgreen森林绿
rgb(34, 139, 34)
hsl(120, 61%, 34%)
lime酸橙绿
rgb(0, 255, 0)
hsl(120, 100%, 50%)
limegreen酸橙绿
rgb(50, 205, 50)
hsl(120, 61%, 50%)
darkseagreen深海绿
rgb(143, 188, 143)
hsl(120, 25%, 65%)
lightgreen浅绿
rgb(144, 238, 144)
hsl(120, 73%, 75%)
palegreen苍绿
rgb(152, 251, 152)
hsl(120, 93%, 79%)
honeydew蜜瓜白
rgb(240, 255, 240)
hsl(120, 100%, 97%)
seagreen海绿
rgb(46, 139, 87)
hsl(146, 50%, 36%)
mediumseagreen中海绿
rgb(60, 179, 113)
hsl(147, 50%, 47%)
springgreen春绿
rgb(0, 255, 127)
hsl(150, 100%, 50%)
mintcream薄荷奶油
rgb(245, 255, 250)
hsl(150, 100%, 98%)
mediumspringgreen中春绿
rgb(0, 250, 154)
hsl(157, 100%, 49%)
mediumaquamarine中碧绿
rgb(102, 205, 170)
hsl(160, 51%, 60%)
aquamarine碧绿
rgb(127, 255, 212)
hsl(160, 100%, 75%)
turquoise绿松石
rgb(64, 224, 208)
hsl(174, 72%, 56%)
lightseagreen浅海绿
rgb(32, 178, 170)
hsl(177, 70%, 41%)
mediumturquoise中绿松石
rgb(72, 209, 204)
hsl(178, 60%, 55%)
darkslategray深岩灰
rgb(47, 79, 79)
hsl(180, 25%, 25%)
darkslategrey深岩灰 (英式)
rgb(47, 79, 79)
hsl(180, 25%, 25%)
teal青绿
rgb(0, 128, 128)
hsl(180, 100%, 25%)
darkcyan深青
rgb(0, 139, 139)
hsl(180, 100%, 27%)
aqua水绿
rgb(0, 255, 255)
hsl(180, 100%, 50%)
cyan
rgb(0, 255, 255)
hsl(180, 100%, 50%)
paleturquoise苍绿松石
rgb(175, 238, 238)
hsl(180, 65%, 81%)
lightcyan浅青
rgb(224, 255, 255)
hsl(180, 100%, 94%)
azure苍白蓝
rgb(240, 255, 255)
hsl(180, 100%, 97%)
darkturquoise深绿松石
rgb(0, 206, 209)
hsl(181, 100%, 41%)
cadetblue军服蓝
rgb(95, 158, 160)
hsl(182, 25%, 50%)
powderblue粉末蓝
rgb(176, 224, 230)
hsl(187, 52%, 80%)
deepskyblue深天蓝
rgb(0, 191, 255)
hsl(195, 100%, 50%)
lightblue浅蓝
rgb(173, 216, 230)
hsl(195, 53%, 79%)
skyblue天蓝
rgb(135, 206, 235)
hsl(197, 71%, 73%)
lightskyblue浅天蓝
rgb(135, 206, 250)
hsl(203, 92%, 75%)
steelblue钢蓝
rgb(70, 130, 180)
hsl(207, 44%, 49%)
aliceblue爱丽丝蓝
rgb(240, 248, 255)
hsl(208, 100%, 97%)
slategray岩灰
rgb(112, 128, 144)
hsl(210, 13%, 50%)
slategrey岩灰 (英式)
rgb(112, 128, 144)
hsl(210, 13%, 50%)
lightslategray浅岩灰
rgb(119, 136, 153)
hsl(210, 14%, 53%)
lightslategrey浅岩灰 (英式)
rgb(119, 136, 153)
hsl(210, 14%, 53%)
dodgerblue道奇蓝
rgb(30, 144, 255)
hsl(210, 100%, 56%)
lightsteelblue浅钢蓝
rgb(176, 196, 222)
hsl(214, 41%, 78%)
cornflowerblue矢车菊蓝
rgb(100, 149, 237)
hsl(219, 79%, 66%)
royalblue皇室蓝
rgb(65, 105, 225)
hsl(225, 73%, 57%)
navy海军蓝
rgb(0, 0, 128)
hsl(240, 100%, 25%)
darkblue深蓝
rgb(0, 0, 139)
hsl(240, 100%, 27%)
midnightblue午夜蓝
rgb(25, 25, 112)
hsl(240, 64%, 27%)
mediumblue中蓝
rgb(0, 0, 205)
hsl(240, 100%, 40%)
blue
rgb(0, 0, 255)
hsl(240, 100%, 50%)
lavender薰衣草紫
rgb(230, 230, 250)
hsl(240, 67%, 94%)
ghostwhite幽灵白
rgb(248, 248, 255)
hsl(240, 100%, 99%)
darkslateblue深岩蓝
rgb(72, 61, 139)
hsl(248, 39%, 39%)
slateblue岩蓝
rgb(106, 90, 205)
hsl(248, 53%, 58%)
mediumslateblue中岩蓝
rgb(123, 104, 238)
hsl(249, 80%, 67%)
mediumpurple中紫
rgb(147, 112, 219)
hsl(260, 60%, 65%)
blueviolet蓝紫
rgb(138, 43, 226)
hsl(271, 76%, 53%)
indigo靛蓝
rgb(75, 0, 130)
hsl(275, 100%, 25%)
darkorchid深兰花紫
rgb(153, 50, 204)
hsl(280, 61%, 50%)
darkviolet深紫罗兰
rgb(148, 0, 211)
hsl(282, 100%, 41%)
mediumorchid中兰花紫
rgb(186, 85, 211)
hsl(288, 59%, 58%)
purple
rgb(128, 0, 128)
hsl(300, 100%, 25%)
darkmagenta深品红
rgb(139, 0, 139)
hsl(300, 100%, 27%)
fuchsia紫红
rgb(255, 0, 255)
hsl(300, 100%, 50%)
magenta品红
rgb(255, 0, 255)
hsl(300, 100%, 50%)
violet紫罗兰
rgb(238, 130, 238)
hsl(300, 76%, 72%)
plum梅红
rgb(221, 160, 221)
hsl(300, 47%, 75%)
thistle蓟紫
rgb(216, 191, 216)
hsl(300, 24%, 80%)
orchid兰花紫
rgb(218, 112, 214)
hsl(302, 59%, 65%)
mediumvioletred中紫罗兰红
rgb(199, 21, 133)
hsl(322, 81%, 43%)
deeppink深粉
rgb(255, 20, 147)
hsl(328, 100%, 54%)
hotpink亮粉
rgb(255, 105, 180)
hsl(330, 100%, 71%)
palevioletred苍紫罗兰红
rgb(219, 112, 147)
hsl(340, 60%, 65%)
lavenderblush薰衣草红
rgb(255, 240, 245)
hsl(340, 100%, 97%)
crimson深红
rgb(220, 20, 60)
hsl(348, 83%, 47%)
pink
rgb(255, 192, 203)
hsl(350, 100%, 88%)
lightpink浅粉
rgb(255, 182, 193)
hsl(351, 100%, 86%)

Contrast Checker

Pick any two colors below — we calculate WCAG AA / AAA pass.

The quick brown fox jumps over the lazy dog. 1234567890.
Ratio:2.97:1Fail

What this tool does

The complete reference for the 147 standardized CSS named colors — the W3C list every browser has supported since IE 4. Each card shows a large true-color swatch, the English keyword (`cornflowerblue`), the Chinese name (矢车菊蓝), and the hex / rgb() / hsl() values, with a one-click copy button for each format. Search by English name, Chinese name, or hex fragment (`#ff` finds every red-rich color). Sort the entire grid by hue (rainbow walk 0°→360°), lightness (whitest → blackest), saturation (vivid → muted), or alphabetical. Filter to warm tones (reds / oranges / yellows / pinks), cool tones (blues / greens), neutrals (greys / off-whites), or the cyan-and-magenta family. The bottom WCAG contrast checker lets you click any two swatches in the grid to compute the WCAG 2.1 ratio and see whether the pair passes AA / AA Large / AAA. 100% client-side, no tracking, no API call, no sign-in.

Tool details

Input
Text + Numbers + Structured content
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
No account required
Open the page and use it; whether results survive refresh depends on the tool.
Performance budget
Initial JS <= 25 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Color & Design · Developer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How HTML Color Names fits into your work

Use it while choosing, checking, converting, or documenting colors for real interface work.

Color jobs

  • Moving from a visual idea to reusable color values.
  • Checking contrast and accessibility before a UI ships.
  • Keeping brand, design, and implementation color decisions aligned.

Color checks

  • Verify contrast against the actual background, not just a sample swatch.
  • Check dark and light themes separately when both exist.
  • Copy the final format your design system or codebase expects.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Color Converter HEX ⇄ RGB ⇄ HSL ⇄ HSV ⇄ CMYK — instant 5-way conversion, live swatch — browser-only Open
  2. 2 CSS Gradient Generator Visual CSS gradient builder — linear, radial, conic with multi-stop colors, live preview, copy CSS, PNG export. Open
  3. 3 Color Blindness Simulator Color blindness simulator — paste hex or upload image, see how it looks to people with protanopia / deuteranopia / tritanopia / monochromacy. Open

Real-world use cases

  • Writing a quick error banner without opening the design system

    You're patching a backend admin page that has no Tailwind, just a raw stylesheet. You want a soft red warning box now, not a hex hunt. Type "red" in the search, scan the pinkish swatches, and copy `background: mistyrose; border-color: salmon`. Two named colors, zero hex lookup, and the next dev reading the CSS knows exactly what shade you meant.

  • Checking two swatches pass AA before you commit the colors

    A teammate proposes `goldenrod` text on a `cornsilk` card. Looks fine, but you suspect it fails contrast. Click both swatches in the grid and the bottom checker shows 1.6:1 — far under the 4.5:1 AA floor. You swap the text to `saddlebrown` (5.2:1), it passes, and you ship without a follow-up accessibility ticket.

  • Translating a color name for a bilingual style guide

    Your Chinese design doc needs both the English keyword and a natural Chinese label for each accent color. Search `cornflowerblue`, read the paired 矢车菊蓝, and drop both into the doc. The 147 cards each carry a vetted Chinese name, so you skip the guesswork of machine-translating "lightgoldenrodyellow" into something readable.

  • Picking a printable swatch order for a CSS color cheat sheet

    You're building a one-page reference for a workshop. Sort the grid by hue so the 147 colors walk the rainbow 0°→360°, screenshot it, and you have a logically ordered chart instead of an A-to-Z jumble where `darkred` sits 90 cards away from `red`. Re-sort by lightness for a separate greyscale-to-vivid handout.

Common pitfalls

  • Assuming `gray` and `grey` differ — they don't; `darkgray` and `darkgrey` are the exact same

  • Trusting that any named pair is readable — `goldenrod` on `cornsilk` is only 1.6:1; always click both swatches in the bottom checker before using one as text on the other.

  • Reaching for named colors in a design system — they can't express a `red-500`/`red-600` ramp, so use them for demos and error states, not for tokens that need tints and shades.

Privacy

This page is 100% client-side. The 147 colors are a static built-in list, and the search box, sort order, filter tags, and contrast-checker selections are all computed in your browser. Nothing you type or click is sent to a server, logged, or written into the URL by default, and there is no API call, no tracking pixel, and no sign-in.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13