Color Picker

Pick any color and get HEX, RGB, HSL and CMYK values plus tints and shades.

Contrast
Harmonies
Tints and shades (click to use)

How to use the Color Picker

  1. Click the color swatch to open the picker, type a value such as #2857EC or rgb(40, 87, 236), or use the eyedropper.
  2. Copy the color in HEX, RGB, HSL or CMYK with one click.
  3. Use the generated tints, shades and harmonies to build a palette, and check the contrast ratio for readable text.

About this tool

Designers and developers constantly move colors between tools that speak different formats: hex codes in CSS, RGB in design apps, HSL for building palettes and CMYK for print. This color picker converts between all of them instantly.

Choose a color with the picker, type any format or use the screen eyedropper (in supported browsers) to sample a color from anywhere on your screen. You also get tints and shades, complementary and analogous colors, and the WCAG contrast ratio against black and white text so you can check accessibility.

Frequently asked questions

RGB mixes red, green and blue light and is used for screens. CMYK mixes cyan, magenta, yellow and black ink for print. CMYK values here are a mathematical conversion; for exact print colors, use your printer's color profile.

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text (about 24px, or 19px bold). AAA requires 7:1 and 4.5:1 respectively.

The screen eyedropper uses the EyeDropper API, currently available in Chrome, Edge and Opera on desktop.

Paste the HEX code into the color picker and the RGB, HSL and CMYK values appear instantly. Each pair of hex digits is one RGB channel: #1E90FF is red 30, green 144 and blue 255.

Yes. Open the "From an image" tab, upload or paste a photo, logo or screenshot and click anywhere on it. You get the exact HEX, RGB and HSL code, a zoomed loupe for precise picking and the main colors in the image. The picture stays on your device.