convert_color
Convert colors between 22+ formats including HEX, RGB, HSL, CMYK, LAB, and framework-specific outputs for CSS, Swift, Android, and Flutter with configurable precision.
Instructions
Convert colors between different formats with high precision and comprehensive format support
Input Schema
Name | Required | Description | Default |
---|---|---|---|
color | Yes | Input color in any supported format (HEX, RGB, HSL, HSV, CMYK, LAB, XYZ, named colors, etc.) | |
output_format | Yes | Desired output format | |
precision | No | Number of decimal places for numeric values | |
variable_name | No | Variable name for CSS/SCSS variable formats (optional) |