CSS Linear Gradients: Syntax and Practical Examples
Learn the CSS linear-gradient() syntax — directions, angles, color stops — with two worked examples you can paste into a page and test.
Software worth knowing about, and the settings and habits that make the apps you already use work harder for you.
Learn the CSS linear-gradient() syntax — directions, angles, color stops — with two worked examples you can paste into a page and test.
Choose accent colors that stay readable on a light website: a worked ivory, copper and sage palette, with every text pair checked for contrast.
Turn one brand colour into a five-colour website palette: pick a base, generate matching shades, assign each colour a role, and check contrast before…
A practical pre-launch check for button labels: test your text colour against the fill, fix the pairs that fail WCAG, and review hover and disabled…
Learn what WCAG contrast ratios mean, why normal text needs 4.5:1 and large text needs 3:1, and how to test any color pair yourself.
Learn how to pick text and background colors that stay readable and pass WCAG contrast checks — with a free checker and worked examples.
Learn how 3-digit HEX shorthand expands to 6-digit codes, when a color cannot be shortened, and how 4-digit and 8-digit alpha forms work.
Learn how RGB maps to HEX with a step-by-step worked example (rgb(51, 102, 153) to #336699), plus a free browser converter to check your colors.