v1

latestOpenAPI 3.0.3MIT2026-07-137715.4 KB

Generate a color swatch for any color

Generates an SVG swatch representation of a color. The swatch can include the color name if provided. The SVG is designed to be visually appealing and readable across different backgrounds.

get/v1/swatch/

Query parameters

colorstring required

The hex value of the color to retrieve without '#'

namestring

The name of the color to display on the swatch

Response

OK