validate-gamut
Check whether a color falls inside a target color space gamut, like sRGB, Display-P3, or Rec.2020. Use it to confirm a color is representable before conversion or design use.
Instructions
Check if a color is within a specific color space gamut
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": "<color>"
},
"name": "validate-gamut"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Color to check | |
| targetGamut | No | Target color space gamut to check against | srgb |