Color Picker

Pick a color and convert instantly between HEX, RGB, and HSL — live preview, copy, contrast check, fully in your browser.

Privacy secured — processed and purged

Visual picker

Normalized: #7CFF00

RGB

rgb(124, 255, 0)

HSL

hsl(91, 100%, 50%)

Contrast preview

How readable is text on this color? Ratios use the WCAG relative luminance formula.

Black text on this color

16.16:1 · AA ✓

White text on this color

1.30:1 · AA ✗

vs Black

16.16:1

vs White

1.30:1

Color conversion happens locally in your browser.

How to use the Color Picker

  1. 1Pick a color with the visual picker, or type a HEX value.
  2. 2Edit R, G, B or H, S, L — everything updates instantly.
  3. 3Copy HEX, RGB, or HSL with one click.
  4. 4Use the contrast preview to judge text readability.

HEX vs RGB vs HSL

HEX

A base-16 color code like #FF5733. Compact and common in web design.

RGB

Red, Green, Blue channels from 0–255, like rgb(255, 87, 51).

HSL

Hue (0–360°), Saturation and Lightness (0–100%), like hsl(11, 100%, 60%).

How color values work

Screens build colors from red, green, and blue light. HEX and RGB describe the same thing in different notations — a hex color picker and an RGB color picker are two views of one value. HSL is a friendlier model: hue picks the color around the wheel, saturation controls how vivid it is, and lightness controls how light or dark it appears. This tool is also a hex to RGB and RGB to HEX converter, with HSL included for quick adjustments.

Choosing readable text colors

The contrast preview shows your color as a background with black and white text, plus the contrast ratio against each. Higher ratios are easier to read. As a rough guide, 4.5:1 or higher is comfortable for normal text, and 3:1 works for large text. Pick the text color (black or white) with the better ratio against your background.

Privacy

Color conversion happens locally in your browser. Nothing is uploaded, and no account or signup is required.

FAQ

Is this color picker free?

Yes — completely free with no signup or subscription.

Does it support 3-digit hex shorthand?

Yes. Typing #F53 expands to #FF5533 and normalizes to uppercase with a leading #.

Are the contrast ratios WCAG-compliant?

The ratios use the correct WCAG relative luminance formula. The AA ✓/✗ marks compare against the standard 4.5:1 threshold for normal text, computed locally — not a third-party audit.

Are my colors sent anywhere?

No. All conversion and copying happens in your browser.

Advertisement space — reserved

Related tools