Generate and repeat

Color Picker

Pick a colour and get its HEX, RGB and HSL values, ready to paste into CSS or a design tool.

Output: 0 characters

How to use it

  1. Click the colour box and choose a colour.
  2. The HEX, RGB and HSL values appear below.
  3. Copy the value you need into your CSS, design file or brief.

Examples

InputSettingsOutput
No input neededColour #2456c9
HEX: #2456C9
RGB: rgb(36, 86, 201)
HSL: hsl(222, 70%, 46%)

Common uses

Frequently asked questions

Can I use these values in CSS?

Yes. HEX, RGB and HSL are all valid CSS colour formats, so you can paste any of them into a style rule.

Why is the HEX code in capitals?

It is a presentation choice. CSS accepts upper or lower case, so either works.