Pick Colors and Copy HEX, RGB, HSL
Pick colors and get HEX, RGB, HSL values instantly.
How to use the Color Picker
Choose a color
Click the color swatch to open your browser color selector and choose the color you need.
Read the formats
Check the displayed HEX, RGB and HSL values. They describe the same selected color.
Copy a value
Use the Copy button beside the format your stylesheet or design document requires.
About the Color Picker
Choose a color with the browser color selector and read its HEX, RGB and HSL representations. For example, selecting red gives #FF0000, rgb(255, 0, 0) and hsl(0, 100%, 50%). Each Copy button saves one representation for use in a stylesheet or design document.
HEX writes the red, green and blue channels as hexadecimal values. RGB shows the same channels as numbers from 0 to 255. HSL expresses hue in degrees and saturation and lightness as percentages. Converting the notation does not change the selected color.
This tool uses the color picker built into your browser, so its controls can differ between devices. It does not upload or sample images, create palettes or assess accessibility contrast. If you need readable text on a colored background, check the foreground and background together with a contrast checker. Color selection and format conversion run locally in your browser.
Frequently asked questions
- Can I sample a color from an uploaded image?
- No. This tool uses a browser color selector; image uploads and pixel sampling are not available.
- Why do the picker controls differ on my phone?
- The selector is supplied by your browser and operating system. The displayed format values are calculated by this tool.