🎨 CSS Colors Tutorial - HSL, RGB, HEX Explained with Examples

CSSnippets on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design7 min

About this video

This beginner tutorial explains how colours work in CSS, covering named colours, HEX, RGB, HSL, HWB, LAB, LCH, OKLab and OKLCH formats. It also shows when to use alpha transparency versus the opacity property, and introduces palette tools such as Coolors and ColorHunt.

What you’ll learn

  • Choose between named, HEX, RGB and HSL colour formats in CSS
  • Apply alpha transparency and compare it with the opacity property
  • Pick colours for interfaces using palette tools such as Coolors and ColorHunt