Find Named Colours by Hex Code
query_hexFind the closest named archive colours to a hex value using CIEDE2000 perceptual distance.
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": "query_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | Hex value with or without # e.g. '#8B4513' | |
| archive | No | Optional: restrict to a named archive | |
| n_results | No | Number of results (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||