Coding for Beginners: CSS Basics #57— Using the HSLA Color System for the Web

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering3 min

About this video

Explains the HSL and HSLA color systems in CSS, covering hue, saturation, lightness and alpha. Shows the 17 standard named colors written in HSL notation and how alpha changes the display of red, green and blue.

What you’ll learn

  • Write colors in CSS with the hsl() and hsla() functions
  • Describe hue, saturation, lightness and alpha in an HSLA value
  • Set transparency on background colors using alpha values