Skip to content
๐ŸŽจ

Color Picker

Color

Pick any color and get HEX, RGB, HSL, and CSS values with a live preview swatch.

0
0
HEX#EF4444
RGBrgb(239, 68, 68)
HSLhsl(0, 84%, 60%)
Hex 3#E44
Aa

Contrast with white

Aa
FailPoor - not enough contrast for readable text

How to use the Color Picker

Color Picker works the moment the page loads. Enter a colour value in any CSS-recognised format, and the tool instantly displays the colour visually, its equivalent values in other formats, and accessibility contrast information. The colour picker button opens your system's native picker for visual selection.

Why use the Color Picker

Color Picker handles the colour tasks that come up most frequently โ€” converting between CSS colour formats, checking contrast accessibility, and generating variations โ€” without requiring you to install design software or navigate a feature-heavy colour tool. The minimal interface means you find the value you need and get back to work.

When to use Color Picker

Use Color Picker when you are contributing to an open-source project and need to match the project's existing colour conventions. Convert the theme colours from the project style guide into your preferred format, confirm your contribution uses the right variables, and submit with confidence.

Key features of Color Picker

Color Picker gives you every colour format at once โ€” HEX, RGB, HSL โ€” with accurate WCAG contrast checks against light and dark backgrounds. Pick a colour visually or type a value, and all representations update simultaneously for instant comparison.

Common use cases for Color Picker

Color Picker is used when: a frontend developer converts the HEX values from a Figma design file into HSL for a Tailwind CSS configuration; a designer checks whether light text on a coloured background meets WCAG AA accessibility standards; and a branding manager documents the exact RGB equivalents of a company's HEX brand palette for print use.

Quick answers for Color Picker

What formats does the Color Picker output?
HEX (6-digit), HEX 3 (the shorthand form when applicable), RGB, and HSL. Each value is copy-ready for CSS, design tools, or code.
How do I pick a color?
Click the color swatch on the left to open your browser's native color picker, drag through the spectrum, or type a HEX value directly. The other formats update live.
Does the Color Picker check accessibility?
Yes. The Color Picker shows the WCAG contrast result for the picked color against white, with an AAA / AA / Fail badge so you can quickly tell whether the color is safe to use as text or a UI element on a white background.
What's the difference between HSL and RGB?
RGB mixes red, green, and blue channels - how screens physically produce color. HSL thinks in terms of hue (which color), saturation (how vivid), and lightness (how bright), which matches how designers talk about color. Both describe the same values; HSL is just easier to reason about.
Does the Color Picker work offline?
Yes. Once the page has loaded, the Color Picker runs entirely in your browser. Bookmark it and reach for it even without an internet connection.