cmyk_to_hex
Convert CMYK percentages to a hex color code. Input cyan, magenta, yellow, and key values to get the corresponding hex.
Instructions
Convert CMYK values to hex color.
Parameters:
cyan — Cyan percentage (0-100).
magenta — Magenta percentage (0-100).
yellow — Yellow percentage (0-100).
key — Key/Black percentage (0-100).
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": {
"cyan": "<cyan>",
"magenta": "<magenta>",
"yellow": "<yellow>",
"key": "<key>"
},
"name": "cmyk_to_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cyan | Yes | ||
| magenta | Yes | ||
| yellow | Yes | ||
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |