CUBSOFTWARE// CUB // CORRUPTED
Developer API// free, no key

Colour Converter

Hex, RGB, HSL and the integer Discord wants for a role colour. Free, no key, no account.

Response fields
6
API key
None
Format
JSON
Base URL
Base https://cubsoftware.site
Authentication
No API key required — this endpoint is publicly accessible.
Please include a descriptive User-Agent header identifying your app.
Colour Converter
GET /api/colour/{value} Design

Hex, RGB, HSL and the integer Discord wants for a role colour.

ParameterTypeRequiredDescription
value string required A hex code, rgb(...) triplet or CSS colour name.
Example Response
{
  "css": "rgb(88, 101, 242)",
  "discord_role_colour": 5793266,
  "hex": "#5865F2",
  "hsl": {
    "h": 235,
    "l": 65,
    "s": 86
  },
  "int": 5793266,
  "rgb": {
    "b": 242,
    "g": 101,
    "r": 88
  }
}
curl 'https://cubsoftware.site/api/colour/5865F2'
Try It

Live request

Edit the path and send it. This runs against the real endpoint.

Press Send to run the request.
Rate Limits
10 requests per second per IP, across every endpoint.
Going over returns 429 — back off and retry.
The Other 45 APIs