# Image Color Picker

Read the exact color at any pixel of an image, or the average color of a rectangular area, by entering coordinates. The tool returns hex, RGB and HSL values plus the alpha level, measured after the EXIF rotation so the coordinates match what you see. Handy for designers matching brand colors, developers extracting values from mockups and anyone checking colors in a screenshot.

## Frequently asked questions

### How do coordinates work?

X counts pixels from the left edge and Y from the top edge, both starting at 0. The top left pixel is 0, 0 and the bottom right pixel of a 1920 by 1080 image is 1919, 1079. Coordinates are measured on the image as it displays after its EXIF orientation is applied.

### How do I get the average color of an area?

Enter a width and height larger than 1. The tool averages every pixel in the rectangle that starts at X and Y and extends to the right and down. The whole rectangle has to fit inside the image.

### Which color formats are returned?

The color comes as a hex code, as RGB values from 0 to 255 and as HSL with the hue in degrees and saturation and lightness in percent. The alpha value runs from 0 for fully transparent to 1 for fully opaque.

### How is transparency handled in an area?

Each pixel counts in proportion to its opacity, so transparent pixels do not pull the color toward black. The reported alpha is the average opacity of the area. A fully transparent area reports black with an alpha of 0.

### How can I find the coordinates of a pixel?

Most image editors and screenshot tools show the cursor position in pixels. Use the Image Info tool to check the image size first, so you know the valid range for X and Y.

### Which formats are supported?

JPEG, PNG, GIF, WebP, TIFF and AVIF images up to 5 MB and up to 4000 pixels on each side. Animated images are read from their first frame.

### Why does the color differ from my editor?

Images are converted to sRGB before reading, so a photo with a Display P3 or CMYK profile reports its sRGB equivalent. Editors that show values in the file's own color space or that sample a larger area by default will show slightly different numbers. JPEG compression also makes neighboring pixels vary a little.

### What happens if a coordinate is outside the image?

The tool returns a message with the image size instead of a color. X and Y accept whole numbers from 0 to 3999, and width and height accept 1 to 4000.

### Can I pick several colors at once?

Each request reads one point or one area. To get the main colors of the whole image instead, use the Image Dominant Color tool, which returns a palette with the share of each color.

### Is the color exact for 16-bit images?

16-bit PNG and TIFF files are reduced to 8 bits per channel before reading, so values are reported on the usual 0 to 255 scale that CSS and design tools use. The reduction rounds each value to the nearest 8-bit level, so the hex code matches what a browser shows.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad The agent-ready plugin suite for WordPress.](https://sleekwp.com/?ref=oneclickpro)
