Color Conversion Tools
Color Name to HSV
See any CSS color keyword as hue, saturation and value. Type a name such as gold and get the numbers to set a color picker, plan variations or compare named colors by hue.
Edit a channel and see the color result immediately.
Enter CSS color name
Type a standard CSS color name, such as steelblue or rebeccapurple.
HSV result
The conversion runs in your browser.
All formats
- HEX
#4682b4- RGB
rgb(70, 130, 180)- HSL
hsl(207.3, 44%, 49%)- HSV
hsv(207.3°, 61.1%, 70.6%)- CMYK
cmyk(61.1%, 27.8%, 0%, 29.4%)- OKLCH
oklch(58.8% 0.099 245.7)- CSS
steelblue
Tints and shades
Text contrast (WCAG)
Normal text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.
How it was calculated
steelblue = #4682b4 = rgb(70, 130, 180) (CSS Color 4)R′ = 70 ÷ 255 = 0.275, G′ = 0.51, B′ = 0.706max = 0.706, min = 0.275, Δ = 0.431H = 60 × ((R′ − G′) ÷ Δ + 4) = 207.3°S = Δ ÷ max = 61.1%, V = max = 70.6%
Common colors in CSS color name and HSV
Choose a color to load it into the converter.
| Color | CSS color name | HSV |
|---|---|---|
black | hsv(0°, 0%, 0%) | |
white | hsv(0°, 0%, 100%) | |
red | hsv(0°, 100%, 100%) | |
lime | hsv(120°, 100%, 100%) | |
blue | hsv(240°, 100%, 100%) | |
yellow | hsv(60°, 100%, 100%) | |
aqua | hsv(180°, 100%, 100%) | |
fuchsia | hsv(300°, 100%, 100%) | |
gray | hsv(0°, 0%, 50.2%) | |
maroon | hsv(0°, 100%, 50.2%) | |
green | hsv(120°, 100%, 50.2%) | |
navy | hsv(240°, 100%, 50.2%) | |
orange | hsv(38.8°, 100%, 100%) | |
steelblue | hsv(207.3°, 61.1%, 70.6%) | |
rebeccapurple | hsv(270°, 66.7%, 60%) | |
tomato | hsv(9.1°, 72.2%, 100%) |
How to use
- Start typing a CSS color name and choose it from the suggestions.
- Read hue, saturation and value; the calculation panel shows the keyword's channels and the HSV math.
- Use the values in your picker, or try the tints and shades strip to see lighter and darker versions.
Examples
Gold
gold is #ffd700: red and green high, blue zero. Full saturation and value, with a hue a little past orange toward yellow.
gold
hsv(50.6°, 100%, 100%)
Why convert a keyword to HSV
Color names are memorable, HSV is adjustable. Converting one to the other is useful when:
- You like a keyword but need a variant, such as a slightly darker gold for text on a light background.
- You want to set a picker in Photoshop (HSB), Procreate or a web component that uses hue, saturation and brightness sliders.
- You compare keywords. Sorting named colors by hue reveals which ones are really the same family.
How it works
The keyword is looked up first. gold is #ffd700, or rgb(255, 215, 0). Then the standard RGB-to-HSV steps apply:
- Value = brightest channel = 255 ÷ 255 = 100%
- Saturation = (max − min) ÷ max = (255 − 0) ÷ 255 = 100%
- Hue: red is the largest channel, so H = 60 × ((G′ − B′) ÷ Δ) = 60 × 0.843 ≈ 50.6°
The calculation panel shows the same sequence for any keyword you choose, including the formula variant that applies.
Patterns worth knowing
- Pure-sounding names are not always fully saturated. steelblue is about 61% saturated, which is why it feels calm.
- “dark” usually means lower value. darkorange keeps orange’s saturation with a slightly different hue; darkred keeps red’s hue and lowers value to about 55%.
- Pastels have low saturation and high value, as with lavender, mintcream and peachpuff.
Want the closest name for your own HSV numbers? Use HSV to Color Name. For a code you can paste into CSS, see Color Name to HEX.
Frequently asked questions
Why look at a named color in HSV?
HSV shows relationships that names hide. You can see that gold, orange and darkorange share full saturation and differ mainly in hue, or that many grays differ only in value.
Can I build a palette from a keyword?
Yes. Keep the hue and change value for shades, or add 180° for a complementary color. Convert the new values back with HSV to HEX.
Why do some keywords have hue 0° and 0% saturation?
Grays, black and white have equal channels and therefore no hue. Only their value differs.
Are these values exact?
The keyword's channels are exact; hue, saturation and value are rounded to one decimal place.
Is the list complete?
Yes, all 148 CSS Color Level 4 keywords are available, including the gray and grey spellings.