CSS Styling: Gradients, Colors, and Backgrounds
CSS turns a handful of values into the look of a page: gradients for backgrounds, color scales for a design system, and contrast checks for readability. These guides explain how the syntax actually works and link to a tool that builds the code in your browser, so you can see the result as you go and copy it straight into your stylesheet.
Tools in this guide
CSS Gradient
Build linear and radial CSS gradients with a live preview and copy the ready-to-use background code.
Color Palette
Generate a tint and shade scale plus complementary, analogous and triadic colors from a base color.
Color Converter
Convert colors between HEX, RGB and HSL with a live preview.
Contrast Checker
Check the contrast ratio between two colours against WCAG AA and AAA accessibility levels.
CSS Formatter
Beautify CSS with clean indentation, or minify it to shrink file size. Handles media queries, calc() and license comments.