English

Color Picker & Converter (HEX, RGB, HSL)

Pick colors, convert HEX/RGB/HSL, check contrast. Free, private and runs in your browser.

Advertisement

About the Color Picker & Converter

Pick any color and instantly get its HEX, RGB and HSL values, a palette of shades and tints, and its contrast ratio against white and black text. Paste a value in any format to convert it.

Like every tool on this site, it runs entirely in your web browser using JavaScript. Your files and text are never uploaded to a server, which makes it fast, free and private.

How to use the Color Picker & Converter

  1. Use the color picker, or type a value such as #ff8800, rgb(255,136,0) or hsl(32,100%,50%).
  2. Read the converted values below the swatch.
  3. Click a shade or tint to select it.
  4. Copy the format you need into your CSS or design tool.

Color formats explained

HEX (#RRGGBB) is the most common format on the web. RGB describes the red, green and blue channels from 0–255. HSL describes hue (0–360°), saturation and lightness – handy for creating lighter or darker variants of a brand color by changing only lightness.

Accessibility and contrast

WCAG 2.1 requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA level). Use the contrast values to decide whether white or black text is more readable on your color.

Frequently asked questions

Can I enter colors without the #?

Yes, 3- and 6-digit HEX values work with or without #.

Does it support transparency?

Alpha values in rgba()/hsla() are ignored; colors are treated as opaque.

How are shades generated?

By keeping hue and saturation and varying lightness from 10% to 90%.

Is it free?

Yes.

Guides and how-tos

  • How to Make a QR Code for Free – Create a QR code for a link, Wi-Fi network or text in seconds, plus sizing, contrast and testing tips so your QR code scans every time.

Related tools

Advertisement