Why use this tool?
- Copy the format your stylesheet or design handoff requires.
- Edit hue and opacity visually while checking the numeric values.
- Compare tints, shades, and tones without re-entering the base color.
Pick a color and convert HEX, RGB, HSL, HSV, CMYK, and OKLCH values. Adjust transparency, explore tints and shades, and copy individual formats.
Runs locally in your browser
Drag the square, rails, or dial in a value.
Saturation 67 percent, brightness 60 percent, hue 270 degrees.
Selected color
#663399
Contrast on white
8.41:1Passes AA body text
Contrast on black
2.50:1Fails AA
Edit any field to convert in the other direction.
Hue, saturation, value — the model the picker plane uses.
A device-independent approximation, not a print profile.
Perceptually uniform lightness. Supported in current browsers.
An exact match for this CSS color keyword.
Related colors derived from the current selection. Click any swatch to copy it.
Tints
Mixed toward white
Shades
Mixed toward black
Tones
Desaturated toward grey
Complete tool guide
Convert a color between HEX, RGB, HSL, HSV, CMYK, and OKLCH, or choose it visually with the color picker. Use the synchronized values to move a brand color from a design handoff into CSS, then explore lighter, darker, or less saturated variants.
Your input is processed in the current browser tab and is not sent to the application server.
Drag inside the picker square, or type any color value you already have.
Adjust hue and transparency on the rails, or fine-tune the channel sliders.
Read the synchronized formats and copy the one you need.
Take a tint, shade, or tone from the variation strips if you need a related color.
HEX encodes red, green, and blue channels. Short HEX expands each digit; #F00 is #FF0000. RGB displays those channels as numbers from 0 to 255.
HSL and HSV offer hue-based editing. OKLCH separates perceptual lightness, chroma, and hue; values are converted into the sRGB colors this picker displays.
Alpha runs from 0 for transparent to 1 for opaque. Copy an alpha-aware output such as RGBA or eight-digit HEX when the transparency is part of your design.
Start with: #FF0000
rgb(255, 0, 0)
hsl(0, 100%, 50%)All three values represent the same opaque sRGB red.
Start with: rebeccapurple
#663399
rgb(102, 51, 153)CSS keywords have defined values. The nearest-name label for an arbitrary color is only an approximation.
Paste 3-, 4-, 6-, or 8-digit HEX, rgb()/rgba(), hsl()/hsla(), hsv(), oklch(), cmyk(), or a supported CSS named color. The tool supports these formats, not every expression in the CSS color specification.
The eyedropper appears when the browser exposes the EyeDropper API. Activate it to choose a screen pixel; use the visual picker or paste a value when it is unavailable.
The variation strips adjust HSL lightness toward white or black, or reduce saturation toward gray. These are related starting colors; check the contrast of each final text/background pair.
The CMYK values are an unprofiled approximation calculated from RGB. Use an ICC-aware print workflow for final production values.
Pure black and pure white have no measurable hue. The picker holds the hue you selected so the handle does not jump when you drag back out of a corner.
Keep working
Continue with another focused tool from the same collection.