Pick a color
Click or drag on the saturation/brightness map, move the hue slider, or open the HTML5 color control.
Free HTML color picker: drag the color map or use the hue slider to get HEX, RGB, HSL, and HSV codes for CSS and HTML. Runs locally in your browser.
Loading tool…
Follow these steps for a clear answer.
Click or drag on the saturation/brightness map, move the hue slider, or open the HTML5 color control.
Edit HEX or R/G/B (0–255). HSL and HSV update live with the selection.
Use Copy next to each format, then paste into stylesheets or inline styles.
Core relationships used by this color tool.
Common picks with formula and result.
Full red channel
Common UI accent
All channels max
All channels zero
Version 1.0.0 · Last reviewed 2026-07-28
HEX ↔ RGB ↔ HSL ↔ HSV (sRGB); map uses HSV hue + S/VUse the preview swatch to judge black text vs white text on the selected fill before copying a code into CSS.
Shades, tints, and tones: darken toward black (shade), lighten toward white (tint), or mix gray (tone) by nudging brightness or RGB after locking a hue.
Harmonies: complementary, analogous, and triadic schemes start from one base hue—pair this picker with a color wheel when you need a full palette.
.card {
background-color: #FF5733;
border: 2px solid rgb(255, 87, 51);
color: #FFFFFF;
}
| Format | Example | CSS usage |
|---|---|---|
| HEX | #FF5733 | color: #FF5733; |
| RGB | rgb(255, 87, 51) | background-color: rgb(255, 87, 51); |
| HSL | hsl(14, 100%, 60%) | border-color: hsl(14, 100%, 60%); |
| HSV | hsv(14, 80%, 100%) | Convert to HEX/RGB/HSL for CSS |
Key distinctions behind the tool.
A visual tool that lets you select a color and read HEX, RGB, HSL, HSV, and similar codes for web design—without installing software.
A six-digit hex code #RRGGBB uses base-16 pairs for red, green, and blue (00–FF each). Example: #FF0000 is pure red; #000000 is black.
RGB mixes red, green, and blue channels (0–255). HSV uses hue, saturation, and value (brightness), which matches how many visual pickers work.
Prefer HEX, rgb(), or hsl() in stylesheets. Use HSV while picking, then copy HEX/RGB/HSL from the tool.
No. Selection and conversion run locally in your browser.