Color Picker
Image ToolsPick colors interactively and get HEX, RGB, HSL, HSV, and CMYK values with alpha, plus save swatches to build palettes you can copy straight into CSS, Figma, or code.. Free, private — all processing in your browser.
#6366f1rgb(99, 102, 241)rgb(39%, 40%, 95%)hsl(239, 84%, 67%)hsv(239, 59%, 95%)cmyk(59%, 58%, 0%, 5%)--color: #6366f1;[#6366f1]6514417brightness(0) saturate(100%) invert(67%)Choosing the right color is half the work of a good UI; communicating it precisely is the other half. A color picker that only shows HEX falls short when you need the HSL for a CSS variable, the RGB for a canvas draw call, or the CMYK for a print spec. This color picker gives you every common color space side by side so you can grab the exact format your workflow needs.
The picker itself combines a saturation-value square with a hue slider, an alpha slider, and direct input in any supported format. Click anywhere in the picker to select a color; paste a HEX like #3b82f6 into the input and the picker jumps to it; drag the hue to explore a family. The tool updates every output simultaneously, so HEX, RGB, HSL, HSV, and CMYK stay synchronized without a round-trip conversion.
Building palettes is a second use case. Save a picked color to the swatches panel, pick another, and soon you have a full palette. Export as JSON, CSS variables, Tailwind config entries, or a plain-text list. The picker remembers your last few colors during the session so you can compare easily. Combined with the palette, contrast checker, and shades generator tools, this is the core of a design system color workflow that keeps values consistent across every surface.
Color Picker — key features
Interactive SV square and hue slider
Classic picker UX with drag or click to pick and live preview.
Every major color space
HEX, RGB, HSL, HSV, and CMYK output simultaneously; copy the format you need.
Alpha channel control
Dedicated alpha slider with rgba, hsla, and 8-digit HEX output.
Swatch library
Save colors to a session palette for quick comparison and export.
Direct input parsing
Paste any format and the picker jumps to that color; great for reverse-engineering brand guides.
Recent colors
Keeps your last several picks accessible without setting up the full palette.
Tailwind-ready output
Copies a ready-to-paste Tailwind arbitrary value or extends theme config.
How to use the Color Picker
- 1
Pick or paste a color
Click the saturation-value area or paste a HEX/RGB/HSL value into the input.
- 2
Adjust hue and saturation
Drag the hue slider and SV area to refine the shade. Adjust alpha for transparency effects.
- 3
Copy the format you need
Click copy next to HEX, RGB, HSL, HSV, or CMYK. The output is CSS-ready.
- 4
Save to the palette
Add promising colors to the swatches panel to compare side by side.
- 5
Export your palette
Export as CSS custom properties, Tailwind config, JSON, or plain text when the palette is complete.
Common use cases for the Color Picker
UI design
- →:
- →:
- →:
Front-end development
- →:
- →:
- →:
Data visualization
- →:
- →:
- →:
Print and media
- →:
- →:
- →:
Color Picker — examples
Brand blue
Classic hero color
pick #3b82f6
HEX #3B82F6, RGB rgb(59,130,246), HSL hsl(217, 91%, 60%)
Emerald with alpha
Semi-transparent success color
pick #10b981 at 80% alpha
HEX #10B981CC, rgba(16,185,129,0.8)
Warm accent
Amber warning
pick #f59e0b
HEX #F59E0B, HSV hsv(38,94,96)
Neutral slate
UI gray
pick #64748b
HEX #64748B, HSL hsl(215, 16%, 47%)
Print CMYK
Brand red for print
pick #e11d48
CMYK 0,87,68,12
Technical details
Colors live in different coordinate systems, and the best one depends on the task. HEX and RGB are hardware-adjacent: they describe red, green, and blue light intensity on a display. HSL and HSV are perceptual: they let you think in hue (which color), saturation (how vivid), and lightness or value (how bright). CMYK targets four-color process printing. CSS supports HEX, RGB(A), HSL(A), HWB, and modern syntax like oklch() for perceptually uniform adjustments.
Every format has rounding quirks. HEX is 8-bit per channel (256 values per primary). RGB supports 0-255 integers or modern percentages. HSL uses degrees (0-360) for hue and percentages for saturation and lightness. CMYK is ink-coverage percentages and is device dependent, which is why print workflows need ICC profiles. When converting between spaces this tool uses the standard sRGB D65 white point and produces values accurate to the nearest integer (for 8-bit formats) or two decimals (for percentages and degrees).
Alpha transparency is first-class. The picker exposes an alpha slider and outputs rgba(), hsla(), #RRGGBBAA (8-digit HEX), and modern CSS color-syntax when toggled. The 8-digit HEX is supported in every modern browser and is handy for Tailwind, CSS custom properties, and many design tools. Contrast-related metrics (luminance, WCAG ratio against white/black) can be computed on the picked color to guide accessible choices.
Common problems and solutions
⚠Mixing sRGB and wide gamut
The picker assumes sRGB. If your display is in a wider gamut, picked colors may look different on sRGB-clamped screens.
⚠Rounding loss on conversion
Repeatedly converting between color spaces introduces rounding error. Pick once and copy multiple formats rather than converting HEX to RGB to HSL back to HEX.
⚠CMYK is only an approximation
Print workflows need ICC profiles. The CMYK shown here is a rough preview, not a print spec.
⚠Alpha at 0 looks transparent everywhere
Remember to check alpha if picked colors appear to disappear when pasted. Set alpha to 1 for opaque.
⚠Ignoring contrast
A perfect-looking color may fail WCAG AA on the intended background. Run it through a contrast checker.
⚠Eyedropping accuracy
Picking from screenshots depends on your display calibration. Always verify against the source design.
Color Picker — comparisons and alternatives
Native OS color pickers usually return HEX only and lack swatch management. Figma's picker is excellent but requires the file to be open. Browser DevTools color pickers work but are per-property and clunky for building palettes. Online pickers often lack alpha, CMYK, or batch export. This tool combines an interactive picker, every major color space, swatch management, and exports for every common format in one place. It also pairs naturally with the other color tools on the site for contrast, shades, and palette generation.
Frequently asked questions about the Color Picker
▶What is the difference between HSL and HSV?
HSL uses lightness where pure white is 100% and pure black is 0%. HSV uses value where 100% is the full-saturation version of the hue. HSL is more intuitive for lightening/darkening.
▶Which format should I put in CSS?
HSL or modern oklch() for readability because you can tweak hue and lightness independently. HEX is terse but harder to adjust by hand.
▶Does the picker support P3 or Rec2020?
The display preview uses sRGB. Output in the modern CSS color(display-p3 ...) format can be added in settings. Most downstream tools still expect sRGB.
▶How do I pick a color from a screenshot?
Use your OS screenshot tool or the browser EyeDropper API if available, then paste the HEX back into the picker.
▶Can I lock the hue and adjust only saturation?
Yes. Click the hue slider to lock the hue, then drag in the SV area to adjust saturation and value independently.
▶How are swatches stored?
In your browser storage during the session. Export them to CSS or JSON to persist across sessions.
▶Is 8-digit HEX supported everywhere?
Yes in every modern browser. Some older design tools do not parse it, so fall back to rgba() if you hit compatibility issues.
▶Why is contrast important with color picking?
Colors that look good on your display may fail accessibility on other screens. Checking contrast at pick time avoids rework later.
Additional resources
Related tools
All Image ToolsColor Blindness Simulator
Simulate how colors and images appear to users with protanopia, deuteranopia, tritanopia, achromatopsia, and other color vision deficiencies.
Color Contrast Checker
Check color contrast ratios between foreground and background for WCAG 2.1 AA and AAA compliance with live preview.
Color Converter
Convert between HEX, RGB, HSL, HSV, CMYK, Lab, LCH color formats
Color Name Finder
Find the nearest named color for any hex, RGB, or HSL value from CSS web colors, X11 standard colors, and Pantone approximations.
Color Palette Generator
Generate harmonious color palettes from any base color with complementary, analogous, triadic, and monochromatic schemes.
Color Shades Generator
Generate tints (lighter), shades (darker), and tones (desaturated) from any base color for design systems and UI states.
Learn more
Explore more tools
200+ free tools that run in your browser.
Browse all tools →