color_difference
Perceptual difference (Delta-E) between two colors. color1 and color2 accept a hex, CSS name, RNV brand name, or saved-palette reference. method is 'ciede2000' (default, modern standard) or 'cie76'. A value near 1.0 is the threshold the eye can just notice; larger means more different. Returns the value and a plain-language interpretation. Read-only and deterministic, with no side effects. Use ciede2000 for accuracy and pick cie76 only to match a legacy system; to test whether text is legible on a background (not raw difference) use contrast_check instead.
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": {
"color1": "<color1>",
"color2": "<color2>"
},
"name": "color_difference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color1 | Yes | ||
| color2 | Yes | ||
| method | No | ciede2000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||