CUBSOFTWARE// CUB // CORRUPTED
Public API — Free to Use
← All APIs

Colour Converter

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

6
Response Fields
FREE
No API Key Needed
JSON
Response Format
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