hex_to_cmyk
Convert a hex color code to its CMYK equivalent for print design. Input a hex value without # and get cyan, magenta, yellow, and key percentages.
Instructions
Convert hex color to CMYK (Cyan, Magenta, Yellow, Key/Black).
Parameters:
hex_color — Hex color without # (e.g. '3498db').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |