Image, File and Developer Tools

Colour Picker

Pick a colour and instantly get its HEX, RGB and HSL values, ready to copy into your website, design or document.

How to Use

Choose a colour with the picker or type a HEX code, then press Show values. The result shows HEX, RGB and HSL, each ready to copy with the Copy result button.

Formula and Methodology

HEX is the six-digit code used in CSS, like #4ADE80. RGB is the same colour as red, green and blue values from 0 to 255. HSL describes it as hue from 0 to 360 degrees, saturation and lightness as percentages. All three describe the same colour.

Examples

Press "Try an example" in the calculator above to fill in these values.

Color
#4ade80
Hex

Tips

HEX codes work in almost every design tool and website stylesheet: paste the code starting with # wherever a colour is asked for.

HSL is the easiest format for making variations: keep the hue and change the lightness to get lighter and darker shades of the same colour.

Frequently Asked Questions