Convert Color
colors_convertConvert any color string to a specified color space like hex, RGB, HSL, or OKLCH, with adjustable decimal precision.
Instructions
Convert a color to a different color space
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target color space | |
| color | Yes | Color string in any supported format (e.g., "#ff0000", "red", "rgb(255, 0, 0)", "oklch(0.6 0.2 29)") | |
| precision | No | Decimal places for output values (0-10) |