Color converter
colorConverts a color between hex, RGB and HSL. Provide exactly one of hex, rgb or hsl.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | Hex color code, e.g. #ff0000 or ff0000. Provide exactly one of hex, rgb, or hsl. | |
| hsl | No | HSL color, e.g. 0,100%,50%. Provide exactly one of hex, rgb, or hsl. | |
| rgb | No | RGB color, e.g. 255,0,0. Provide exactly one of hex, rgb, or hsl. |