🎨 Color Picker & Converter

Convert between HEX, RGB, HSL — pick, preview, generate palettes, and discover random colors. All in your browser.

#00d4aa rgb(0,212,170) hsl(168,100%,42%)

🔢 Color Converter

👁️ Color Picker

Click the picker or paste a HEX value above

🎨 Palette Generator

Complementary Analogous Triadic Split Comp Tetradic Mono

🌈 Random Colors

Color Picker & Converter: What Each Part Does

Four small color utilities share this page, and all four run in your browser — no account, no upload, no round trip to a server.

HEX, RGB and HSL: the Difference That Matters

All three notations describe the same color. They differ in which questions they make easy to answer.

Four limits are worth knowing, because they explain most "why did my color change?" moments:

The Six Palette Schemes, and the Maths Behind Them

Two honest caveats. First, these are HSL rotations, not perceptual color science: the hues are mathematically even but not perceptually even, so a triadic palette can look lopsided next to what a tool built on OKLCH or CIELAB would suggest. Second, the black-or-white swatch labels are chosen with the ITU-R BT.601 luma formula — a legibility heuristic for those labels, not a WCAG contrast check. Run a real contrast audit before shipping text colors.

How to Use the Color Picker

  1. Start from a value you already have — paste a HEX code, an rgb() string or an hsl() string into the matching field, or click the color input to open your system picker.
  2. Read the other notations — the preview swatch shows the HEX, RGB and HSL forms at once, each with its own Copy button.
  3. Pick a harmony — switch between the six schemes above the swatch strip, then click any swatch to make that color the new base.
  4. Copy what you need — one value from its Copy button, or the whole palette from Copy All.

Where These Values Actually Get Used

Related Tools

❓ Frequently Asked Questions

Is the color picker and converter free to use?

Yes, completely free. No sign-up, no usage limits and no watermark on anything you copy.

Does it require an internet connection?

No. Every conversion, palette and random-color generation runs client-side in your browser, so your colors are never uploaded and the page keeps working offline once it has loaded.

Why did my HEX code change slightly when I converted HSL back to HEX?

Because the HSL values here are whole numbers. #00d4aa is hsl(168, 100%, 42%), and converting that rounded HSL back to RGB gives #00d6ab: a step or two off in each channel. Keep the HEX code as the value you ship and treat HSL as the editable view.

Does it support transparency, 8-digit HEX or rgba()?

No. The picker is the browser's native color input, which has no alpha channel, so every color here is fully opaque and the output is 3 or 6 digit HEX, rgb() or hsl().

Can I pick a color from anywhere on my screen?

Not from this page. It opens your operating system's own color picker, so it cannot sample pixels elsewhere on screen. Use the OS-level screen picker or your browser's developer tools eyedropper, then paste the HEX value into the field here.

Which color formats can I type in?

HEX with or without the leading hash (three or six digits), rgb() with comma or space separators, and hsl() with whole-number hue and percentage saturation and lightness. Color names such as red, and newer CSS functions such as oklch() or rgba(), are not parsed.

How are the palette colors calculated?

Each scheme rotates your base hue in HSL: complementary by 180 degrees, analogous by plus or minus 30 and 60 degrees, triadic by 120 degrees, split complementary to the 120, 150 and 180 degree hues, tetradic by 90 degrees, and monochromatic along a fixed lightness ladder of 20, 36, 52, 68 and 84 percent.

Are the generated palettes accessible or color-blind safe?

They are not guaranteed to be. The schemes are HSL rotations and the tool does not run any contrast check, so treat a palette as a starting point and verify text and background pairs with a dedicated contrast checker before shipping.

Can I copy an entire palette at once?

Yes. The Copy All button puts every swatch in the current palette on the clipboard as a newline-separated list of HEX codes, ready to paste into a stylesheet.

← Back to All Tools