Translate a screen colour into usable values
A colour can be represented as hexadecimal RGB channels, decimal RGB values, or hue, saturation, and lightness. Convert a design colour into the notation your stylesheet or design handoff needs, using a HEX value, the RGB fields, or the browser colour picker as input.
How to use Color Converter
- Enter HEX or edit the RGB channels.
- Use the colour picker for visual selection.
- Copy HEX, RGB, HSL, or CMYK values.
Practical examples
Convert a primary red
Input or settings
#ff0000Expected result
RGB: 255, 0, 0
HSL: 0°, 100%, 50%
Approximate CMYK: 0%, 100%, 100%, 0%HSL lightness of 50% is a saturated primary colour, not a 50% opacity setting.
Expand a short HEX colour
Input or settings
#abcExpected result
HEX: #aabbcc
RGB: 170, 187, 204Each shorthand digit is repeated. #abc means #aabbcc rather than #0a0b0c.
Read the channels and know the limits
RGB channels range from 0 to 255. HSL hue is measured in degrees; saturation and lightness are percentages. Display rounding can make a converted value differ slightly if you convert it back elsewhere.
The HEX input accepts three or six hexadecimal digits, with or without #. Alpha-channel HEX such as #11223344, named colours, and HSL strings are not supported inputs. Edit RGB through its numeric fields rather than pasting rgb(...) into HEX.
CMYK is an approximate mathematical conversion with no printer or paper profile. It cannot predict printed appearance. This tool also does not measure text contrast; test foreground/background contrast separately before using a palette for accessible content.
When this tool helps
- Translate a HEX design token into RGB for a stylesheet.
- Inspect hue and saturation while adjusting a palette.
- Prepare a rough CMYK reference before a proper print conversion.
Questions about Color Converter
Why does the same colour look different on paper?
Screens emit light while inks reflect it, and printer profiles, paper, lighting, and gamut affect the result. Use profile-aware print software and a proof for production work.
Can I convert transparent colours?
The current inputs describe opaque RGB colours. Alpha values are not supported; composite transparency against its intended background in your design tool.
Does HSL lightness measure accessibility contrast?
No. HSL lightness is a colour-model coordinate, not relative luminance or a WCAG contrast ratio.