convert_rgb_to_hex
Convert RGB color values to HEX by specifying red, green, and blue components (0-255). This tool outputs a six-character hexadecimal color code.
Instructions
Convert RGB color to HEX
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": {
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "convert_rgb_to_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | Red value (0-255) | |
| g | Yes | Green value (0-255) | |
| b | Yes | Blue value (0-255) |