mix-colors
Combine two colors at a chosen ratio to create a blended result, and optionally generate a multi-step gradient for palettes or transitions.
Instructions
Mix two colors together with optional gradient generation
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": {
"color1": "<color1>",
"color2": "<color2>"
},
"name": "mix-colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | Mix ratio (0 = 100% color1, 1 = 100% color2, 0.5 = equal mix) | |
| steps | No | If provided, generate a gradient with this many steps | |
| color1 | Yes | First color | |
| color2 | Yes | Second color |