Colour palette generator
Build colour schemes from one base colour: complementary, analogous, triadic and a 50 to 950 shade scale.
Input
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
| Name | Type | Required | What 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.
Related tools
- Colour converterConvert a colour between hex, RGB, HSL, HWB, OKLab and OKLCH, and find the nearest CSS colour name.
color-convert - Colour contrast checkerCheck the WCAG contrast ratio between text and background colours, with AA and AAA pass or fail.
contrast-ratio - Colour mixerMix two colours by any ratio in sRGB or OKLab, or lighten or darken a colour by a percentage.
color-blend - CSS gradient generatorBuild a CSS linear, radial or conic gradient from a list of colour stops, with an SVG preview.
css-gradient - Add or subtract time from a dateAdd or subtract years, months, weeks, days, hours and minutes from a date and get the resulting date.
date-add - Age calculatorWork out an exact age in years, months and days on a given date, plus the next birthday.
age-calculator