What are the differences between hlsa and rgba ? Are they interrelated ? How ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the differences between hlsa and rgba ? Are they interrelated ? How ?

19th Dec 2017, 3:03 PM
Kisalaya Kishan
Kisalaya Kishan - avatar
2 Answers
+ 11
Both are different color models as HSL used the Hue/Saturation/Lighness triplet in percentage while RGB used Red/Green/Blue to indicate the color intensity in byte. On the other hand the a in both models represent the alpha value which indicates the amount of transparency. I believe you can find more detailed explanation on Google by using the keyword "Difference HSL RGB". 😉
19th Dec 2017, 3:49 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
HSLA stands for hue saturation and lightness and alpha. In RGB colors, we cannot change saturation and lightness of color, but in HSLA, we can change.
19th Dec 2017, 3:42 PM
Ashwaghosh Sadanshiv
Ashwaghosh Sadanshiv - avatar