Skip to content
OddsockLocal
Local

No files yet.

Waiting for inputRuns in this browser. Nothing is uploaded.

How to use

  1. Choose an image.
  2. Set Number of colors. 6 is the start.
  3. Read the swatches, not a code block.
  4. Tap a swatch to copy that color, or Copy CSS for the set.

What is Color extractor?

A photograph is not a palette until someone names the colors that actually dominate it. Color extractor reads the pixels of a picture you choose and returns the strongest colors as swatches, not as a paragraph of CSS you have to parse.

Read more

Number of colors starts at 6. Raise it when a photo has several distinct regions, such as a product shot with packaging, background, and a label. Lower it when you only want the two or three colors a brand would repeat. Each swatch can be copied as HEX, RGB, HSL, or a CSS custom property.

The source image stays large enough to see. The colors are the result. CSS, Tailwind, and JSON are copy actions under the swatches, not the thing you have to read first.

Use cases

  • A brand designer pulling the five colors that actually appear in a campaign photo.
  • A front-end developer turning a screenshot into CSS variables without sampling pixels by hand.
  • A student matching a poster’s dominant colors before rebuilding it.
  • A merchandiser checking whether a product photo’s background is really white.
  • An illustrator comparing a scanned drawing’s inks with the palette they intended.

Six colors from one photo

Drop a photo. Leave Number of colors at 6.

Six swatches, each with HEX, RGB, and HSL. Copy CSS writes --color-1 through --color-6.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

HEX, RGB, HSL, and a CSS custom property. The format chips above the grid switch every swatch together.