Color Picker – HEX, RGB, HSL, CMYK Online

Color Picker

Color Values

HEX
RGBrgb(13, 148, 134)
HSLhsl(174, 84%, 32%)
HSVhsv(174, 91%, 58%)
CMYKcmyk(91%, 0%, 9%, 42%)
CSSrgba(13, 148, 134, 1.00)

Preview

Current (#0d9486)Previous (#ffffff)

Closest Tailwind color

teal-600 (#0d9488)

Color Harmonies

Complementary

Triadic

Analogous

Split-Complementary

Tints & Shades

Tints (lighter)

Shades (darker)

What Is This Color Picker?

A comprehensive browser-based color picker that shows HEX, RGB, HSL, HSV, CMYK, and CSS values simultaneously. Pick any color visually using the canvas, hue slider, and opacity slider — or type in a HEX code directly. All values update in real time.

Features

  • Visual picker: click or drag on the saturation/brightness canvas to pick exact colors
  • Multiple formats: HEX, RGB, HSL, HSV, CMYK, and CSS rgba with one-click copy
  • Color harmonies: complementary, triadic, analogous, split-complementary
  • Tints and shades: 10 tints (lighter) and 10 shades (darker)
  • Tailwind match: closest Tailwind CSS color class for your selection
  • Recent colors: last 20 picked colors saved in localStorage

Understanding Color Formats

HEX

A 6-digit hexadecimal code prefixed with # (e.g., #3b82f6). Most common in web design. Pairs of hex digits represent the red, green, and blue channels.

RGB

Red, Green, Blue values each in the range 0–255. The additive color model used by screens.

HSL

Hue (0–360°), Saturation (0–100%), Lightness (0–100%). Easier to reason about than RGB — hue is the color name, saturation is intensity, lightness is brightness.

CMYK

Cyan, Magenta, Yellow, Key (Black) — the subtractive model used in print. Useful for checking print-safe color values.

Frequently Asked Questions

What color formats does this tool support?
HEX, RGB, HSL, HSV, CMYK, and CSS rgba() — all shown simultaneously and updated in real time as you pick a color.
What are color harmonies?
Mathematically derived color combinations that look visually balanced: complementary, triadic, analogous, and split-complementary.
What is the difference between tints and shades?
Tints are the color mixed with white (lighter). Shades are mixed with black (darker). The tool shows 10 tints and 10 shades.
How does Tailwind color matching work?
It calculates Euclidean distance in RGB space between your color and every color in the Tailwind palette. The closest is shown.
Can I type in a HEX value directly?
Yes. The HEX field is editable. Type a valid 6-digit HEX value and press Enter — all values update instantly.
Are recent colors saved between sessions?
Yes. The last 20 colors are saved in localStorage and persist between sessions on the same browser.

Related Developer Tools