HSLa

HSLa

  • Just like HSL but adds the ability to specify opacity using an alpha value

  • alpha must be a number between 0.0 and 1.0 (0.5 means 50% opacity)


body {
  background-color: hsla(0, 100%, 75%, 0.5);
}