Color Converter
Convert colors between names, HEX, RGB, HSL, HWB, CMYK and NCol, with a color picker, shades, matching colors and text contrast
Aa
Aa
Lighter and darker shades
Same hue and saturation, lightness from 95% to 5%. Click a shade to use it.
Matching colors
About the formats
- Name: 148 standard CSS color names such as tomato or steelblue; any color shows its nearest name.
- Hexadecimal (hex code): #RRGGBB in base 16 (00–ff per channel); #RGB shorthand and #RRGGBBAA with transparency also work.
- RGB (red, green, blue): Red, green and blue from 0 to 255, as used on screens; rgba adds transparency.
- HSL (hue, saturation, lightness): Hue (0–360°), saturation and lightness (0–100%) — easy to adjust by hand.
- HWB (hue, whiteness, blackness): Hue plus how much white and black is mixed in (0–100%).
- CMYK (cyan, magenta, yellow, key/black): Cyan, magenta, yellow and black ink percentages used in printing.
- NCol (Natural Colors): A hue letter (R, Y, G, C, B, M) with a percentage toward the next one, then whiteness and blackness, e.g. R15, 28%, 0%.
CMYK is converted with the simple on-screen formula; real print colors depend on the printer, ink and paper (ICC color profile), so treat it as an approximation. Contrast ratios follow WCAG 2: 4.5:1 for normal text (AA), 7:1 for AAA, 3:1 for large text.