Hexadecimal & RGB | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Hexadecimal & RGB

Between Hexadecimal & RGB, which is more preferable?

14th Sep 2020, 11:57 AM
Tiana
Tiana - avatar
3 Antworten
+ 2
I prefer hex. But it depends on which is to your liking.
14th Sep 2020, 12:02 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
+ 2
I prefer hex cause it's shorter but neither of them have an advantage over the other one
14th Sep 2020, 12:02 PM
Bagon
Bagon - avatar
+ 2
They are based on the same logic. The hexadecimal values[when taken 2 at a time] gives 255 combinations. The same is with rgb, where we use usual numbers.
14th Sep 2020, 12:06 PM
Aswajith
Aswajith - avatar