Hello World! Felt like sharing this discovery with you.
Generally, for most people whether full stack or half stack including me, hex codes tend to be somewhat confusing.
It has been so till i recently tried to understand it best.
First off, one color can be represented by many hex codes.
example, #424242, rgb(255,255,255), or #101010 all refer to GREY color
When you have a hex code try to partition into three, #ff ff ff ... they Stand for rgb(red, green, blue)
Once done, check the block with an ff...
... had to continue here because max length exceeded
Once done checking the block with ff, if itd the only one then the color is from that block. ex #01ff01 will represent GREEN as the green block hass the ff
Now, if both have ff, means the end color will be gotten by adding the colors ex... #ff01ff will give BLACK as it is from red + blue
Basic color codes
Thanks for reading, dislike if not important so i delete the post. :)