Welcome to ColorAPI!

ColorAPI shows a square image for any hex code provided.

Supported File Types

Using ColorAPI

ColorAPI uses the following URL structure:

https://colorapi.glitch.me/HEXCODE.FILETYPE

For example:

https://colorapi.glitch.me/fff.webp

How it works

ColorAPI takes the provided hex code and inserts it into SVG code, then if necessary, converts it to an image file using svg-to-img. ColorAPI is powered by express.


ColorAPI was created by advaith originally for use in BeepBot and was inspired by color.dyno.gg.