Color temperature mix
colour_temperature_mixRead a palette's balance. Pass colors (two to sixty) as hex, rgb(), hsl() or CSS names, optionally each followed by its area share, such as #1b3a5c 55%, #f2efe6 30%, #e4572e 10%, or an array of strings or {color, share}. Returns warm, cool, neutral and in-between share, a chroma-weighted warm/cool index, chroma spread, lightness range and darkest-to-lightest contrast, and the dominant, accent and neutral colors. With shares for every color it also reports whether the split sits near 60-30-10 (read as 50-70, 20-40 and 5-20, our own tolerance); without shares it says the split cannot be read. Temperature bands are OKLCH hue conventions (warm 350 to 115, cool 180 to 285, neutral chroma under 0.03). Sources: Hughes, Graphic Design: Learn It, Do It; Wroblewski, Site-Seeing.
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": {
"colors": "<colors>"
},
"name": "colour_temperature_mix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | The palette, optionally with shares: "#1b3a5c 55%, #f2efe6 30%, #e4572e 15%". |