Colore JS

Search documentation

Find a function or jump to a section.
v2.0.1

API reference

Find the Colore function for the job you have. The references show which input each function accepts and what it returns.

Most projects start with generateSystem for a light and dark theme, ensureContrast to fix a color that fails contrast, or applyThemeToCss to change a theme file you already have. To work from the terminal or a coding agent, see Coding agents and CLI.

Jump to a category

Pick an import

Use colore() or Color when you want to chain several changes before writing the result. Standalone helpers from colore-js/fn handle one operation at a time. Each reference lists the available calls.