Performance: HSL colors
LOW IMPACT
Using HSL colors affects CSS parsing and paint performance but generally has minimal impact on page load speed and rendering.
color: hsl(0, 100%, 50%); /* red color using HSL */
color: rgb(255, 0, 0); /* red color using RGB */
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Using RGB or Hex colors | 0 | 0 | Low paint cost | [OK] Good |
| Using HSL colors | 0 | 0 | Low paint cost | [OK] Good |