convert_color
Convert color values between hex, rgb(), and hsl() formats to obtain the required notation for CSS styling or design workflows.
Instructions
Convert a color between hex, rgb(), and hsl() formats
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 |
|---|---|---|---|
| color | Yes | Color in hex (#rrggbb), rgb(r,g,b), or hsl(h,s%,l%) form |