convert_color
Convert colors between hex, RGB, HSV, HSL, LAB, CSS names, RNV brand names, or saved-palette references. Returns a single format or all formats.
Instructions
Convert a color between formats. Input accepts a hex, CSS name, RNV brand name, or saved-palette reference. With to set to one of hex/rgb/hsv/hsl/lab, returns just that format; otherwise returns all of them.
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>"
},
"name": "convert_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||