CheerLights color HEX and RGB
get_hex_color_codeRetrieves the HEX and RGB values for a specified CheerLights color name, so you can look up exact color codes from the live feed.
Instructions
The HEX and RGB values of a CheerLights color.
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_name": "<color_name>"
},
"name": "get_hex_color_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color_name | Yes | A CheerLights color name, for example oldlace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | HEX value, for example #ff0000 | |
| rgb | Yes | RGB values, 0 to 255 | |
| name | Yes | Color name |