Pick colors from an image

Drop an image, move over it to preview colors and click to keep them. HEX, RGB and HSL codes are ready to copy.

Move over the image to preview a color, click to keep it. Click a swatch to copy its HEX code.

Main colors in this image

    Picked colors

      Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.

      Color code formats

      FormatExampleWhere used
      HEX#1E90FFCSS, design tools
      RGBrgb(30, 144, 255)CSS, screens
      HSLhsl(210, 100%, 56%)CSS, easier to tweak lightness

      How the main colors are found

      The picture is shrunk to 64 px wide, each pixel is sorted into one of 512 color boxes (8 levels per channel), and the most filled boxes are averaged. It is a quick palette, not a precise analysis.

      JPG compression shifts colors slightly, so a brand color read from a JPG can be a few units off. Pick from a PNG when exact values matter.

      Frequently asked questions

      Why does the picked color differ slightly from the original design?
      Compression, color profiles and resizing all change pixel values a little. Click a few nearby pixels and use the most common value.
      Can I pick colors from a screenshot?
      Yes. Press Print Screen, then paste into this page with Ctrl+V.