# Colour shades generator

> Generate a full scale of tints and shades (50 to 950) from one brand colour, as CSS variables and a Tailwind config snippet. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/color-shades-generator

One brand colour is not a palette. Get the eleven steps a design system needs, from the palest background tint to the darkest text shade, with your colour as the 500.

1. Type your brand colour.
2. Give the scale a name, such as brand or primary.
3. Press Generate and copy the CSS variables or the Tailwind snippet.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `color` | text | yes | Base colour. |
| `name` | text | no | Name of the scale. Default: "brand". |

## Example

Input:

```json
{
  "color": "#0052FF",
  "name": "brand"
}
```

Result:

```json
{
  "shades": [
    {
      "step": 50,
      "hex": "#F0F5FF"
    },
    {
      "step": 100,
      "hex": "#E0EAFF"
    },
    {
      "step": 200,
      "hex": "#B8CEFF"
    },
    {
      "step": 300,
      "hex": "#85ABFF"
    },
    {
      "step": 400,
      "hex": "#4782FF"
    },
    {
      "step": 500,
      "hex": "#0052FF"
    },
    {
      "step": 600,
      "hex": "#0044D6"
    },
    {
      "step": 700,
      "hex": "#0037AD"
    }
  ],
  "css": ":root {\n  --brand-50: #F0F5FF;\n  --brand-100: #E0EAFF;\n  --brand-200: #B8CEFF;\n  --brand-300: #85ABFF;\n  --brand-400: #4782FF;\n  --brand-500: #0052FF;\n  --brand-600: #0044D6;\n  --brand-700: #0037AD;\n  --brand-800: #002A85;\n  --brand-900: #002066;\n  --brand-950: #00133D;\n}",
  "tailwind": "brand: {\n  50: '#F0F5FF',\n  100: '#E0EAFF',\n  200: '#B8CEFF',\n  300: '#85ABFF',\n  400: '#4782FF',\n  500: '#0052FF',\n  600: '#0044D6',\n  700: '#0037AD',\n  800: '#002A85',\n  900: '#002066',\n  950: '#00133D',\n}",
  "preview": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 96\" width=\"640\" height=\"96\" role=\"img\" aria-label=\"Colour preview\"><rect x=\"0\" y=\"0\" width=\"58.7\" height=\"96\" fill=\"#F0F5FF\"/><text x=\"29.1\" y=\"53\" text-anchor=\"middle\" font-family=\"system-ui,sans-serif\" font-size=\"13\" fill=\"#0F172A\">50</text><rect x=\"58.2\" y=\"0\" width=\"58.7\" height=\"96\" fill=\"#E0EAFF\"/><text x=\"87.3\" y=\"53\" text-anchor=\"mid…"
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "color-shades-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/color-shades-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"color":"#0052FF","name":"brand"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**How are the shades made?**

The hue and the saturation of your colour are kept and the lightness is stepped from 97% down to 12%. Your exact colour is the 500 step.

**How do I use it in Tailwind?**

Paste the snippet under theme.extend.colors in your Tailwind config, then use classes such as bg-brand-100 and text-brand-700.

**Which steps pair well for text?**

Text at 700 or darker on a 50 or 100 background usually passes WCAG AA. Check the pair you choose with the contrast checker.

All free tools: https://orkosi.com/tools.md
