Color Code from Image

Extract color codes from any image. Pick individual colors, generate palettes, and copy HEX and RGB values directly in your browser.

Upload an image

Drag and drop an image here, or click to browse

Choose image

JPG, JPEG, PNG, WebP, GIF and other supported image formats

Maximum file size: 55MB

The selected file is not shared with any third party and never stored by us.

Get HEX and RGB Color Codes from Images

Find the exact colors used in photos, graphics, screenshots, illustrations, and other images with this free online color picker. Upload an image, select a pixel, and instantly get its HEX and RGB color values. You can also extract a color palette and download it for your projects.

How to use the image color picker

  1. Upload an image by dragging it into the upload area or selecting a file from your device.
  2. Click or drag over the image to pick a color. Use the magnified preview to inspect individual pixels.
  3. Copy the selected color's HEX or RGB code using the copy buttons.
  4. Add colors to your palette, remove unwanted colors, or download the palette as a PNG image.

Features of the Image Color Picker

Pixel color picker

Select colors directly from an image by clicking or dragging across its pixels.

HEX and RGB codes

Get HEX and RGB values for selected colors and copy them with one click.

Automatic color palette

Extract a palette of dominant colors from your uploaded image.

Magnified pixel preview

Inspect a magnified area around your cursor to help select individual pixels.

Custom colors

Add colors using a color picker or by entering a HEX code.

Download color palette

Export your selected colors and their color codes as a PNG image.

Frequently Asked Questions

How do I get a color code from an image?

Upload your image to the color picker, then click or drag over any pixel in the preview. The selected color's HEX and RGB codes will appear instantly, ready to copy.

Can I extract multiple colors from an image?

Yes. The tool automatically extracts a color palette from your image. You can select colors, add more colors manually, remove unwanted colors, and download your palette.

What is the difference between HEX and RGB color codes?

HEX represents a color using a six-digit hexadecimal value, such as #10B981. RGB represents the same color using red, green, and blue values, such as rgb(16, 185, 129). Both are commonly used in web design and graphic design.

Can I use this color picker without uploading my image?

You can also select a custom color using the color input or enter a HEX code manually. You do not need to upload an image to add a custom color to your palette.

Can I download the extracted color palette?

Yes. You can download your palette as a PNG image containing the colors and their HEX and RGB codes.

Are my images uploaded to a server?

Image processing takes place in your browser. Your image is not uploaded to our servers by this color picker.