Get Colour Metrics and Properties
colour_metricsCalculate perceptual colour metrics including LRV, chroma, hue angle, warmth classification, and illuminant shifts for any hex color under D65, F11, and Illuminant A lighting.
Instructions
Return perceptual colour metrics: LRV, chroma, hue angle, warmth classification, and illuminant shifts under D65 (6500K), F11 (4000K), and Illuminant A (3000K).
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_val": "<hex_val>"
},
"name": "colour_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_val | Yes | Hex value e.g. '#8B4513' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |