Colour Picker
Pick any colour from the wheel and get HEX, RGB and HSL values.
Colour Picker
Colour Values
About the Colour Picker
The Colour Picker gives you the same colour in every format you might need: HEX, RGB, HSL and a CSS custom property. Pick from the wheel or type a hex code and the other values update.
The formats describe the same thing differently. HEX is compact and used in HTML and CSS. RGB gives three channels from 0 to 255, which is how screens mix light. HSL gives hue, saturation and lightness, which is far easier to reason about when you want a lighter shade of the same colour: raise the lightness and leave the hue alone.
The CSS variable output is the practical one for a design system. Define --brand-primary once at the root and every component references it, so a colour change is one edit rather than a search and replace across a stylesheet.
Common questions about Colour Picker
What is the difference between HEX, RGB and HSL?
They are three ways of writing the same colour. HEX is compact, RGB is the screen's native channel model, and HSL is easier to adjust by hand.
Why would I use HSL?
Because hue, saturation and lightness map onto how people describe colour. Making a shade lighter means changing one number.
What is the CSS variable output for?
It writes --name: value; so the colour can be defined once and reused across a stylesheet.
Can I enter a colour directly?
Yes, type a hex code and the picker and other formats follow.
Does it handle transparency?
The outputs are solid colours. For alpha you would add an rgba or eight-digit hex value yourself.
Will the colour look the same on every screen?
Approximately. Screens differ in calibration and gamut, so a colour is a close match rather than an exact one.