Colour palette generator

Build colour schemes from one base colour: complementary, analogous, triadic and a 50 to 950 shade scale.

Input

The base colour, in any CSS format.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/palette-generate \
  -H 'Content-Type: application/json' \
  -d '{"input":{"color":"#0088cc"}}'
import json, urllib.request

body = {'input': {'color': '#0088cc'}}
request = urllib.request.Request("https://setget.net/v1/tools/palette-generate", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/palette-generate", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"color":"#0088cc"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "palette-generate",
  "input": {
    "color": "#0088cc"
  }
}
{
  "input": {
    "color": "#0088cc"
  }
}

Endpoint: POST /v1/tools/palette-generate. Over MCP: run_tool with slug: "palette-generate". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
color string yes The base colour, in any CSS format.

Example

Input
{
  "color": "#0088cc"
}
Result
{
  "base": "#0088cc",
  "complementary": [
    "#0088cc",
    "#cc4400"
  ],
  "analogous": [
    "#00ccaa",
    "#0088cc",
    "#0022cc"
  ],
  "triadic": [
    "#0088cc",
    "#cc0088",
    "#88cc00"
  ],
  "tetradic": [
    "#0088cc",
    "#4400cc",
    "#cc4400",
    "#88cc00"
  ],
  "square": [
    "#0088cc",
    "#aa00cc",
    "#cc4400",
    "#22cc00"
  ],
  "split_complementary": [
    "#0088cc",
    "#cc0022",
    "#ccaa00"
  ],
  "monochromatic": [
    "#004466",
    "#006699",
    "#0088cc",
    "#00aaff",
    "#33bbff"
  ],
  "scale": {
    "50": "#ebf5fb",
    "100": "#d6ecf7",
    "200": "#add9ef",
    "300": "#7ac1e4",
    "400": "#3da5d8",
    "500": "#0088cc",
    "600": "#006da3",
    "700": "#00527a",
    "800": "#003652",
    "900": "#001b29",
    "950": "#000e14"
  }
}

Questions

Which colour formats can I type?
Hex (#rgb, #rrggbb, #rrggbbaa), rgb() and rgba(), hsl() and hsla(), hwb(), oklab(), oklch(), and any of the 148 CSS colour names such as "rebeccapurple".
How are the schemes built?
By turning the hue on the HSL colour wheel while keeping saturation and lightness: 180 degrees for complementary, 30 either side for analogous, 120 for triadic, 60/180/240 for tetradic, 90 for square and 150/210 for split complementary.
How is the 50 to 950 scale made?
500 is your base colour. Lighter steps mix in more white and darker steps mix in more black.
What is monochromatic?
The same hue and saturation at five lightness levels: two darker than the base and two lighter.