Tools / Color converter and contrast checker / Calculators

Color picker

A free color picker. Choose any color and copy its HEX, RGB and HSL codes. Check contrast too. Runs in your browser.

Report a problem

How to use it

  1. Type a color in HEX, RGB or HSL, or pick one.
  2. Copy the format you need.
  3. In the contrast checker, enter a text color and a background to see if they pass.

About color picker

Use this color picker to choose a color with the picker or by typing its code, and copy it as HEX, RGB or HSL. The swatch shows the color, and the contrast checker below tells you if it is readable with white or dark text. To pick a color from a photo instead, use the Image color picker. Everything runs in your browser.

Questions

How do I get the code of a color I like?

Choose it with the picker, then press Copy beside the format you need.

Can I pick a color from an image?

Yes. Use the Image color picker tool and click any point of your picture.

Which format should I use in CSS?

Any of them works. HEX is the most common, and HSL is the easiest for making a color lighter or darker.

Which color formats can I type?

HEX such as #4f46e5 or #fff, RGB such as rgb(79, 70, 229), and HSL such as hsl(243, 75%, 59%).

Related tasks

Last updated: 2026-10-25

Other tools