color_mix
Blend two hex colors by specifying a mix ratio. Enter color_a and color_b without #, and set ratio between 0 and 1 to get the resulting color.
Instructions
Mix two hex colors together with a given ratio.
Parameters:
color_a — First hex color without # (e.g. 'FF0000').
color_b — Second hex color without # (e.g. '0000FF').
ratio — Mix ratio 0.0-1.0 (default: 0.5). 0 = all color_a, 1 = all color_b.
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_a": "<color_a>",
"color_b": "<color_b>"
},
"name": "color_mix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color_a | Yes | ||
| color_b | Yes | ||
| ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |