HEX, RGB, HSL — what's the difference?

Modern CSS color functions

CSS Color Level 4 introduces space-separated syntax (rgb(110 231 198 / 0.8)), the wide-gamut spaces oklch() and oklab(), and the color() function for explicit color spaces. This converter focuses on the three classic spaces; for modern color math, see MDN's reference linked below.