Example inputPOST /api/v1/x402/rgb-to-hex
{
"r": 255,
"g": 0,
"b": 0
}
Portable intent card · data-quality
Convert RGB channels to #rrggbb. Call when you bridge agent RGB pickers to CSS hex. Returns hex and channels for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/rgb-to-hex -m POST -H 'x-delx-source: intent-card-rgb-to-hex-api' --max-amount 0.001 -b '{"r":255,"g":0,"b":0}'
{
"r": 255,
"g": 0,
"b": 0
}
{
"intent": "RGB To Hex for an agent workflow",
"tool_name": "util_rgb_to_hex",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/rgb-to-hex-api.json"
}
Portable and inspectable