<color-swatch>

What is it?

The color-swatch component uses my own library Colori. It takes a color expression and a format as HTML arguments. It displays a preview of the color, its expression in the requested format, and a button to copy that expression.

Examples of use