color_hex_convert
Convert a hex color code to RGB and HSL values for use in CSS, design, or code workflows.
Instructions
Convert a hex color to RGB and HSL values.
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": {
"hex": "<hex>"
},
"name": "color_hex_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | Hex color code (e.g. #FF5733 or FF5733). |