Endpoints

7

Ungrouped Endpoints
7

What is the xColors API?

A free API for generating and converting colors

xColors API is available on the JoJ API marketplace. Subscribe with a single JoJ API key, call it through one gateway, and pay from one wallet — no separate account or contract with the provider.

xColors API endpoints

  • GET/random

    Get random color

    Get a JSON object that contains a random color in three HEX, RGB and HSL color models at once.

  • GET/hex2rgb

    Convert HEX to RGB

  • GET/hex2hsl

    Convert HEX to HSL

  • GET/rgb2hex

    Convert RGB to HEX

  • GET/rgb2hsl

    Convert RGB to HSL

  • GET/hsl2hex

    Convert HSL to HEX

  • GET/hsl2rgb

    Convert HSL to RGB