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

Changes

No recorded changes to this endpoint across all 1 revision of this API.