Adjust Color
colors_adjustAdjust a color's lightness, chroma, or hue by a relative or absolute amount, helping frontend developers fine-tune palettes and themes from AI agents.
Instructions
Adjust color properties (lightness, chroma, hue)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Property to adjust (lightness, chroma, hue) | |
| color | Yes | Color string in any supported format (e.g., "#ff0000", "red", "rgb(255, 0, 0)", "oklch(0.6 0.2 29)") | |
| amount | Yes | Amount to adjust by (e.g., 0.1 for +10%, -0.05 for -5%) | |
| relative | No | Whether to adjust relatively (%) or absolutely |