Color Picker: HEX, RGB and HSL From Image
Use this color picker to find the exact color you need. Pick from the color wheel or upload an image and click any pixel, then copy the HEX, RGB and HSL codes. See lighter and darker shades and save favorites for your project. Need to find complementary and triadic color schemes? Try the Color Wheel.
Color Picker
Find color codes and build palettes.
How to use the color picker
- Click the color box to choose a color, or type a code such as #E5322D, rgb(229, 50, 45) or hsl(2, 78%, 54%).
- Copy the format you need: HEX, RGB, HSL, HSV or CMYK.
- Click any swatch in Shades and tints or Color harmonies to use it.
- To pick from a picture, open an image and click the spot you want; its main colors are listed below it.
How it works
Colors are converted with the standard formulas between RGB and HSL, HSV and CMYK. Shades and tints keep the hue and saturation and change only the lightness. Harmonies rotate the hue around the color wheel: 180 degrees for complementary, 30 degrees each way for analogous, 120 and 240 for triadic, and 150 and 210 for split complementary. Main image colors are found by grouping similar pixels and listing the largest groups.
Example
The red #E5322D is rgb(229, 50, 45) and hsl(2, 78%, 54%). Its complementary color is a teal near #2DE0E5, and a lighter tint at 85% lightness is a soft pink you could use for backgrounds.
Frequently asked questions
How do I find the color code of something in a photo?
Click Pick colors from an image, open the photo and click the exact spot. The codes update instantly.
What is the difference between HEX and RGB?
They describe the same color. HEX writes the red, green and blue values in base 16 (#E5322D), while RGB writes them as numbers from 0 to 255 (229, 50, 45).
Can I pick a color from anywhere on my screen?
Yes in Chrome and Edge on computers: press Pick from screen and click anywhere, even outside the browser.
Is my image uploaded?
No. The image is read in your browser only.
See also: Hex Calculator.
Pick a color
How to use it
- Use the wheel or upload an image.
- Click a color.
- Copy the codes.
- Check shades.
More questions
Can I pick a color from my screen?
Some browsers, like Chrome and Edge, offer an eyedropper to pick colors from your screen.
Can I get a full palette from a photo?
Yes. Use the color palette from image tool.
Which code should I use for CSS?
HEX and RGB both work in CSS, so use whichever you prefer.
Related tools: Color Palette From Image, HEX to RGB Converter, Color Palette Generator.