Color picker
Edit CSS color names, HEX, RGB, or HSL, sample an original image pixel with keyboard controls and magnification, and save swatches locally. Copy alpha-aware formats or extract an image palette.
How to Pick a Color and Get Its HEX or RGB Code
Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.
#7D9065rgb(125, 144, 101)hsl(86.512 17.551% 48.039%)rgb(49.02% 56.471% 39.608%)0.4902, 0.5647, 0.3961, 1--color: #7D9065;Color names use standard CSS keywords, such as red or rebeccapurple.
0 × 0 original pixels. Arrow keys move one pixel; Shift + arrow moves ten.
Palette colors approximate a resized sample. Fully transparent pixels are ignored; other pixels are composited on the backdrop. Percentages describe visible sampled pixels; selected colors may not total 100%.
Color picker: how to use it
- Choose a color or open a local image.
- Click an image pixel, use coordinates or arrow keys, or adjust the RGB/HSL controls.
- Copy the color value in your preferred format.
Limits and notes
Screen sampling depends on browser support and requires your action. Image sampling reads the browser-decoded image in sRGB; it is not a print-proofing workflow. Images are limited to 24 megapixels and 25 MB.
How your privacy works →Color picker: common questions
Why is screen sampling unavailable in my browser?
The EyeDropper API is not supported everywhere. Manual controls and local image sampling remain available.
Can I sample transparent pixels?
Choose a sampling backdrop or enable Keep sampled alpha to inspect the original pixel transparency. The preview is browser-decoded sRGB; palette extraction always summarizes colors on its chosen backdrop.
What color formats can I enter?
Use optional-# HEX with 3, 4, 6 or 8 digits; 148 CSS named colors; transparent; or supported numeric RGB/RGBA/HSL/HSLA comma or space/slash forms. This is not a general evaluator for var(), calc(), currentcolor, lab() or display-p3.
How do I pick an original image pixel?
Click the image, enter zero-based X/Y coordinates or focus it and use arrows. Shift plus an arrow moves ten original pixels; Enter, Space or Sample selected pixel samples. Scaling the display or magnifier does not change the original coordinate system.