How to use Color Picker
- Click the picker to choose a color, or type a HEX, rgb() or hsl() value in the field.
- See the large swatch and every format update right away.
- Copy the format you need, such as the HEX code for CSS or the RGB values for an app.
Features
- Uses the color picker built into your browser
- Accepts HEX (3, 6 or 8 digits), rgb() and hsl() input
- Shows HEX, RGB, HSL and CMYK with a copy button for each
- Large preview swatch and clear error message for invalid input
- Runs in your browser with no upload
Examples
| Input | Result |
|---|---|
| #4F33E8 | RGB rgb(79, 51, 232) HSL hsl(249, 80%, 55%) CMYK cmyk(66%, 78%, 0%, 9%) |
| hsl(120, 100%, 50%) | HEX #00FF00 RGB rgb(0, 255, 0) CMYK cmyk(100%, 0%, 100%, 0%) |
Limitations
- The picker is the one your browser provides, so its look differs between Chrome, Safari and Firefox and it may not offer eyedropper or alpha controls. It picks colors from a palette rather than from an image. CMYK is a simple conversion without an ICC profile, so it will not match a printer exactly.
Learn more
Choosing a color usually ends with the same question: what code do I paste into my stylesheet, my design tool or my presentation? A color picker answers it by letting you see the color first and then read the value in whichever notation the destination expects.
Each notation has a typical home. HEX is the most common in CSS and design tools, RGB suits code that manipulates channels, HSL is convenient when you want to make a color lighter or less intense, and CMYK appears in print specifications. Showing all four side by side saves switching between converters. Start with a hex code or pick by eye, then copy the one you need; to check readable text on the color you picked, try the contrast checker.
Frequently asked questions
How do I pick a color and get its HEX code?
Click the color box to open the picker, choose a color, and the HEX code appears in the list below with a copy button.
Can I enter a color code instead of using the picker?
Yes. Type a HEX, rgb() or hsl() value in the text field and every format updates.
What is the difference between HEX, RGB and HSL?
They are three ways to write the same screen color: HEX uses base-16 digits, RGB gives red, green and blue from 0 to 255, and HSL uses hue, saturation and lightness.
Can I pick a color from an image or from my screen?
Not with this tool. It works from the picker or from a code you type. Some browsers offer an eyedropper inside their picker.
Sources
Last reviewed: September 30, 2026