Skip to content

RedDaedalus/swatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swatch

This is a simple Cloudflare worker to generate SVG images of color swatches. The only currently supported swatch format is a 2:1 gradient.

Format

To get a swatch, you can hit https://swatch.daedalus.workers.dev/<decimal encoded hex color>/gradient.svg. For example, #ff0049 would be encoded as 16711753.

Examples

red blue

About

A CloudFlare worker for generating color swatches.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages