Color harmony
colors_harmonyGenerate a color scheme from a base color by rotating OKLCH hue for complementary, split-complementary, triadic, tetradic, or analogous harmonies, returning hex colors with matched lightness and chroma.
Instructions
Generate a color scheme from a base color by rotating its OKLCH hue (complementary, split-complementary, triadic, tetradic, analogous) while keeping lightness and chroma matched. Returns hex colors with their hue offsets; the base is included at offset 0. OKLCH hue steps look even, unlike HSL angles.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"color": "<color>",
"scheme": "<scheme>"
},
"name": "colors_harmony"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | The base color. Any CSS color: "#3b82f6", "rgb(59 130 246)", "oklch(0.62 0.19 260)", "tomato". | |
| scheme | Yes | Color scheme: complementary (hue offsets 0, 180); split-complementary (hue offsets 0, 150, 210); triadic (hue offsets 0, 120, 240); tetradic (hue offsets 0, 90, 180, 270); analogous (hue offsets -30, 0, 30). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | ||
| scheme | Yes |