Color Converter & Picker
Convert any color between HEX, RGB, HSL and HSV, sample colors from your screen, and match common CSS color names.
Color Converter & Picker
Palette suggestions
🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.
How it works
Colors on the web can be written several ways, and this tool converts between the four most common while keeping every field in sync. Edit any format and the others update instantly, along with a live preview swatch.
HEX is the six-digit hexadecimal form (#4F46E5) used most in CSS. RGB lists red, green, and blue from 0–255, matching how screens mix light. HSL (hue, saturation, lightness) and HSV (hue, saturation, value) describe color the way people think about it — pick a hue on the color wheel, then adjust how vivid and how light it is. HSL and HSV are especially handy for generating tints and shades programmatically.
Pick a color visually with the swatch input, or use the browser's eyedropper (where supported) to sample any pixel on your screen. The palette suggestions rotate the hue around the color wheel to offer harmonious neighbors you can click to adopt. All conversion math runs locally in your browser.
Examples
Common CSS color names
| Name | HEX | RGB |
|---|---|---|
| White | #FFFFFF | rgb(255, 255, 255) |
| Black | #000000 | rgb(0, 0, 0) |
| Red | #FF0000 | rgb(255, 0, 0) |
| Green | #008000 | rgb(0, 128, 0) |
| Blue | #0000FF | rgb(0, 0, 255) |
| Orange | #FFA500 | rgb(255, 165, 0) |
| Gray | #808080 | rgb(128, 128, 128) |
| Gold | #FFD700 | rgb(255, 215, 0) |
| Teal | #008080 | rgb(0, 128, 128) |
| Navy | #000080 | rgb(0, 0, 128) |
| Emerald | #059669 | rgb(5, 150, 105) |
HEX is compact and standard in CSS; RGB mirrors how screens mix red, green and blue light; HSL/HSV describe colour the way people think — pick a hue, then adjust how vivid and how light it is. All four describe the same colours, so pick whichever suits the task.