Developer Tools

Color Picker

Pick a color visually and get its HEX, RGB and HSL codes.

Results are provided for general informational use. Verify important financial, health or legal figures before relying on them.

About this Color Picker

The Color Picker lets you choose a color visually using your browser's built-in color picker, then instantly shows the matching HEX, RGB and HSL codes. It is a quick way to grab a color value without typing a code by hand.

How the calculation works

The browser's native color input returns a HEX value directly; RGB and HSL are calculated from that HEX value using standard color-space conversion formulas.

How to use it

  1. Select the color swatch to open the picker.
  2. Choose any color.
  3. Read the HEX, RGB and HSL values shown below the swatch.

Practical example

Picking a shade of blue might show HEX #3157d5, which the tool also displays as RGB and HSL values.

Frequently asked questions

Does this save colors for later?

No, values update live and are not stored between visits.

Can I type a HEX code instead of using the picker?

Use the Color Converter tool if you already have a HEX code and want RGB and HSL without opening a color picker.

Does the picker look different on different devices?

Yes, the color picker interface is provided by your browser or operating system, so its appearance varies.

Keep exploring

More Developer Tools

View category →