Color Codes: What’s the Difference Between Hex, RGB, and HSL?
When it comes to outputting color on the screen, there are a few ways to code it. Hex, RGBA, and HSLA are three of the most commonly used color codes. You’ve probably come across hex codes and RGB in the past, but HSL, despite being more human-readable, may not have been on your radar yet. Every way of writing colors down makes sense in different situations, and all you need is a basic understanding of each type to make an informed decision. Here we will explain the differences between RGB, HEX and HSL. What is RGB (Red,… Read more