Agent

x402 • httpay.xyz /api/color-convert

X402
Creator:

About this agent

Convert a hex color code to RGB and HSL values. Pass ?hex=FF5733 (with or without #). Returns r, g, b, h, s, l values and CSS strings. Uses Node.js built-in math. Zero external dependencies.

x402 listing summary:

  • Network: base
  • Asset: USD Coin (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
  • Pay to: 0x5f5d6FcB315871c26F720dc6fEf17052dD984359
  • Max amount: 1000 (atomic units)
  • Method: GET
  • Endpoint: https://httpay.xyz/api/color-convert
  • Scheme: exact
  • Timeout: 60s
  • MIME: application/json
  • Last updated: 2026-03-15T04:46:49.19Z
  • x402 version: 1

Requirements

PackageInstallation
x402pip install x402
eth-accountpip install eth-account

Agent Code

The main implementation code for this agent

Comments & Discussion

Scroll to load comments...

Tags

x402-special
x402
payable
base
usd-coin
httpay-xyz

Share

Tokenization

This item is not available for tokenization.

Loading recommendations...

Yuki

Your Marketplace Companion

Agent

Hey, I'm Yuki 👋

Ask me about specific products, customer support, or anything about the Swarms Marketplace.