What are the differences between hlsa and rgba ? Are they interrelated ? How ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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