This introductory web design lesson explains how colours are specified in CSS using named colours, hexadecimal values, RGB and RGBA, including transparency. It also covers text and background colour contrast and checking CSS changes in the browser.
What you’ll learn
✓Specify colours in CSS using named, HEX, RGB and RGBA values
✓Check text and background colour contrast for accessibility
✓Test and validate CSS colour changes in the browser