Colour Code Converter
Converts colours between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and named CSS colours.
Picks any colour and shows its HEX, RGB, HSL, HSV, CMYK and LAB values, plus tints, shades and the nearest named colour.
The Colour Picker picks any colour and shows its HEX, RGB, HSL, HSV, CMYK and LAB values, plus tints, shades and the nearest named colour. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.
| Formats shown | HEX, HEX with alpha, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and the nearest CSS named colour |
|---|---|
| Variations | Ten tints, ten shades, complementary, analogous, triadic and split-complementary |
| Contrast | WCAG contrast ratio against white and black shown for every colour |
Converts colours between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and named CSS colours.
Converts HEX colour codes to RGB and RGBA values, handling 3, 4, 6 and 8 digit hex.
Converts RGB and RGBA values into HEX colour codes, including 8-digit hex with alpha.
Converts between HSL, HEX and RGB, so you can adjust lightness and saturation predictably.
Converts between CMYK and RGB or HEX for print work, with a note on gamut differences.
Builds harmonious palettes from a base colour using complementary, analogous, triadic…
Generates a full 50-950 scale of tints and shades from one colour, ready to paste as CSS…
Calculates WCAG contrast ratio between two colours and reports AA and AAA pass or fail for…
Shows how a colour or palette appears to people with protanopia, deuteranopia, tritanopia and…
Finds the nearest Tailwind colour class for any hex value, and shows the hex for any Tailwind…