convert_hex_rgb_hsl
Convert colors between HEX, RGB, RGBA, HSL, and HSLA formats. Handles gamut clipping for out-of-range values.
Instructions
Bidirectional color format translator between HEX, RGB, RGBA, HSL, and HSLA with gamut clipping. (0.005 USDC on Base L2)
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": {
"payload": "<payload>"
},
"name": "convert_hex_rgb_hsl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |