+ 2
Why use RGB or hex instead of base-10 for colors?
RGB uses base-255, hexadecimal uses base-16, and colors like "Red" in an IDE are translated to base-2 binary. Why not just use base-10 (zero to nine) to represent colors? i.e. the base-10 number 99999 is the same as navy blue. I made a code to show you can easily convert base-10 to base-255 or base-16. https://code.sololearn.com/c5WjGQ7RYL8I/#py
2 Respostas
+ 7
Taken from https://cheeze.club/7c4r
Hex values are easier to copy and paste from your favourite image editor.
RGB values are easier to manipulate with Javascript.
+ 1
@cheeze Spam... 😂