color_named
Identify the closest named CSS color for a given hex value.
Instructions
Find the closest named CSS color for a given hex value.
Parameters:
hex_color — Hex color without # (e.g. '3498db').
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_color": "<hex_color>"
},
"name": "color_named"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |