Supports HEX, RGB, RGBA, HSL, HSLA formats

Color Palette Generator

Generate harmonious color palettes

API commands for this page

Run these examples from a terminal. Replace sample values and add your bearer token where required.

Convert a color

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"color":"#336699","from":"hex","to":"rgb"}' 'https://api.casjay.coffee/api/v1/tools/color/convert'

Generate a palette

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"baseColor":"#FF5733","count":5}' 'https://api.casjay.coffee/api/v1/tools/color/palette'