tool_color
Convert any color to HEX, RGB, and HSL values. Input a color name or code to receive all three formats.
Instructions
[utility] Color
Parameters:
color (string): Color
Outputs:
hex (string): HEX
rgb (json): RGB
hsl (json): 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": "tool_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | HEX | |
| hsl | No | HSL | |
| rgb | No | RGB | |
| color | No | Color |