color
Convert colors between hex, RGB, HSL, HSV, OKLCH, and CSS names, check WCAG contrast against a background, and generate palette shades or harmony sets.
Instructions
Color in all notations (hex rgb hsl hsv oklch oklab, CSS name), WCAG contrast vs against + closest passing color, palette shades/harmony.
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": "color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| against | No | ||
| palette | No |