Developers
How to create a color palette in CSS with custom properties
Build a maintainable palette with primitive and semantic CSS variables in five steps.
More tutorials
Developers
How to add dark mode to your website with CSS variables
Support the system setting, add a manual toggle and avoid the flash of the wrong theme.
Developers
How to generate a Tailwind color scale from one hex code
Turn a single brand color into a full 50 to 950 scale and use it in Tailwind v4.
Accessibility
How to check your website's color contrast in five minutes
A fast, practical routine to find and fix contrast problems before launch.
Design
How to extract a color palette from a logo or photo
Pull a usable palette from any image and turn it into brand-ready colors.
Design
How to move colors from Figma to CSS without mistakes
Copy colors from a design file into CSS variables, including opacity.