Color Picker
Choose an opaque web color visually, enter HEX or RGB, or sample a selected image. Compare harmonies, shades and tints before saving a small working palette.
HEX contains red, green and blue byte pairs; #RGB expands each digit. RGB components round to the nearest integer and clamp to 0–255. HSL derives hue, saturation and lightness; black and white contrast uses relative sRGB luminance.
Enter #ff0000: RGB becomes rgb(255, 0, 0), HSL hsl(0, 100%, 50%) and approximate CMYK 0/100/100/0. Red contrasts differently with white and black; these ratios alone do not certify an entire design.
Method and limits
CMYK is a simple numerical approximation, not an ICC print profile. HSL and CMYK displays round to whole percentages. Image sampling reduces the longest side to at most 2000 pixels; fully transparent samples are rejected and partial alpha is not composited.
The image path reads a selected file through FileReader and Canvas. Saved colors use this browser’s localStorage. Screen picking starts only from your button click where EyeDropper exists; browser permission and clipboard behavior still depend on the browser. Other site requests are separate.
Pick From Image
Color Harmonies
Shades
Tints
Saved Colors
Contrast against black and white
Copied
Copy failed. Select the result and copy it manually.
About Color Picker
Sample a selected image, or explicitly start screen selection where EyeDropper is supported. Get hex, RGB, and HSL values. Essential for designers and developers working with colors.
Choose an opaque web color visually, enter HEX or RGB, or sample a selected image. Compare harmonies, shades and tints before saving a small working palette. HEX contains red, green and blue byte pairs; #RGB expands each digit. RGB components round to the nearest integer and clamp to 0–255. HSL derives hue, saturation and lightness; black and white contrast uses relative sRGB luminance.
Enter #ff0000: RGB becomes rgb(255, 0, 0), HSL hsl(0, 100%, 50%) and approximate CMYK 0/100/100/0. Red contrasts differently with white and black; these ratios alone do not certify an entire design.
The image path reads a selected file through FileReader and Canvas. Saved colors use this browser’s localStorage. Screen picking starts only from your button click where EyeDropper exists; browser permission and clipboard behavior still depend on the browser. Other site requests are separate.
Use Cases
How to use
Use the color picker interface
Select a color visually or enter values
Copy the color code in your preferred format
Save colors for later use
Select the color swatch or enter a 3- or 6-digit HEX value.
Adjust the R, G and B controls; 1.5 rounds to 2 before generating HEX.
Optionally choose or drop an image and click a visible pixel, or explicitly click the supported screen eyedropper.
Compare harmonies, shades, tints and the black/white contrast ratios; save useful colors.
Copy the needed HEX, RGB, HSL, CMYK or CSS value; remove saved colors when finished.
Pro Tips
- Only browsers exposing EyeDropper show the screen control. It opens after an explicit click and may be cancelled or refused. Image sampling remains available; it samples the downscaled image rather than a print profile.
- Toggle between hex, RGB, and HSL
- Save frequently used colors
- CMYK is a simple numerical approximation, not an ICC print profile. HSL and CMYK displays round to whole percentages. Image sampling reduces the longest side to at most 2000 pixels; fully transparent samples are rejected and partial alpha is not composited.
- The image path reads a selected file through FileReader and Canvas. Saved colors use this browser’s localStorage. Screen picking starts only from your button click where EyeDropper exists; browser permission and clipboard behavior still depend on the browser. Other site requests are separate.
Troubleshooting
Enter 3 or 6 hexadecimal digits, or complete numeric components.
Adjust the R, G and B controls; 1.5 rounds to 2 before generating HEX.
What does #RGB mean?
Each digit is repeated: #f00 means #ff0000. Six digits contain the red, green and blue values from 00 to FF.
Frequently Asked Questions
A 6-character code (like #FF5733) representing colors in web development.
Hue, Saturation, Lightness - a more intuitive way to adjust colors.
Only browsers exposing EyeDropper show the screen control. It opens after an explicit click and may be cancelled or refused. Image sampling remains available; it samples the downscaled image rather than a print profile.
Each digit is repeated: #f00 means #ff0000. Six digits contain the red, green and blue values from 00 to FF.
Only browsers exposing EyeDropper show the screen control. It opens after an explicit click and may be cancelled or refused. Image sampling remains available; it samples the downscaled image rather than a print profile.