Palette to CSS Variables

Your workspaceProcessed on your device
#336699
#993366
#669933
A few things to know.

Accepts up to 64 sRGB colors. Blank lines are ignored. The prefix supports 1 to 40 ASCII letters, digits and hyphens, starting with a letter. CSS functions that depend on document context are unsupported.

  1. Paste one color per line, keeping the order you want for the variables.
  2. Choose a prefix starting with a letter and inspect the generated :root declarations.
  3. Copy the CSS or download the stylesheet, then reference a variable using var().