Skip to content
toolavix

Color Picker

Pick a color, fine-tune it and copy its HEX, RGB or HSL code.

  • Free
  • No sign-up
  • 100% private

Runs in your browser — your files never leave your device.

What does a color picker do?

A color picker lets you choose a color visually and gives you its code for CSS, design tools and code. Click the color box to open the picker, adjust hue, saturation and lightness with the sliders, or use the eyedropper to sample any pixel on your screen in supported browsers. You get HEX, RGB, HSL, HSV, CMYK and OKLCH values to copy, plus tints, shades and harmonious colors such as complementary and triadic.

How to pick a color and get its HEX code

  1. 1

    Click the large color box to open the picker, or use the hue, saturation and lightness sliders.

  2. 2

    In Chrome or Edge, press “Pick from screen” to sample a color from anywhere on your screen.

  3. 3

    Copy the HEX, RGB, HSL, HSV, CMYK or OKLCH value with its copy button.

  4. 4

    Click any shade or harmony swatch to make it your current color.

Key features

Screen eyedropper

Where the browser supports the EyeDropper API, you can sample any color on your screen, including from other windows.

Six copy-ready formats

HEX, RGB, HSL, HSV, CMYK and OKLCH are updated live and written in current CSS syntax.

Tints and shades

Nine steps from near-white to near-black help you build hover states, borders and backgrounds from one base color.

Color harmonies

See complementary, analogous, triadic, split-complementary and tetradic colors for the color you chose.

Frequently asked questions

How do I get the HEX code of a color?

Pick the color with the picker or sliders and copy the HEX value shown on the right. It is a six-digit code starting with #, such as #3B82F6.

How can I pick a color from my screen?

Use the “Pick from screen” button. It relies on the EyeDropper API, which is available in Chrome, Edge and other Chromium-based browsers. Firefox and Safari do not support it yet.

What is the difference between tints, tones and shades?

A tint is a color mixed with white, a shade is a color mixed with black and a tone is mixed with gray. This tool shows tints and shades of your color.

What are complementary colors?

Complementary colors sit opposite each other on the color wheel, 180 degrees apart, such as blue and orange. They create strong contrast when used together.

Is my picked color stored anywhere?

Only in your own browser so the last color is remembered. Nothing is sent to a server.

More Developer tools

View all →