Colour Code Converter
Converts colours between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB and named CSS colours.
Finds the nearest Tailwind colour class for any hex value, and shows the hex for any Tailwind class.
The Tailwind Colour Converter finds the nearest Tailwind colour class for any hex value, and shows the hex for any Tailwind class. 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.
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…
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…