Colour palette from image

Turn a photo, logo or screenshot into a palette you can drop straight into your brand kit. Copy HEX values or export CSS and Tailwind tokens.

How it works

  1. Drop an image.
  2. We quantise the pixels locally and pick the dominant, accent and neutral colours.
  3. Copy HEX/RGB/HSL or export CSS variables.

How are the colours chosen?

A median-cut quantiser groups the image's pixels into clusters and ranks them by coverage and saturation.

Can I export the palette?

Yes: copy single values, a CSS :root block, or a Tailwind colours snippet.

Is my image uploaded?

No. Extraction runs in your browser.

Use it from ChatGPT, Claude or your own agent

This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.

Fields

  • image_url (text, required): Address of the image. A public https link to a JPG, PNG, WebP, GIF or AVIF image, up to 15 MB
  • count (integer, optional): Number of colours

A call that works

POST https://orkosi.com/api/v1/public/tools/color-palette/run
Authorization: Bearer <api_key>

{
  "input": {
    "image_url": "https://orkosi.com/samples/sample.jpg"
  }
}

Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.

This tool as Markdown · Connect an AI assistant