Endpoints
Canvas
Tools

Canvas Tools Endpoints

Here is a list of how our /canvas/:tool endpoint works and the types of responses you'll get.

Want more endpoints? Join the discord to give suggestions

GET /canvas/colorviewer

Query ParameterRequired?
hexgreen tick

Example:

URL
https://api.some-random-api.com/canvas/colorviewer?hex=4B007D

Image:

Color Viewer Canvas Endpoint Example

GET /canvas/hex

Query ParameterRequired?
rgbgreen tick

Example:

URL
https://api.some-random-api.com/canvas/hex?rgb=75,0,125
Response
{
  "hex": "#4B007D",
  "original": {
    "red": "75",
    "green": "0",
    "blue": "125"
  }
}

GET /canvas/rgb

Query ParameterRequired?
hexgreen tick

Example:

URL
https://api.some-random-api.com/canvas/rgb?hex=4B007D
Response
{
  "r": 75,
  "g": 0,
  "b": 125
}