Please how do i identify the color i want to use using hexadecimal, i really don't understand it at all | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please how do i identify the color i want to use using hexadecimal, i really don't understand it at all

6th Sep 2019, 10:00 AM
Toyyib Lawal
Toyyib Lawal - avatar
2 Answers
+ 3
This solution really made my life easier. https://htmlcolorcodes.com/ Hope it'll help !
6th Sep 2019, 10:04 AM
Mark Abi Khalil
Mark Abi Khalil - avatar
+ 2
Hexadecimal is base 16, the decimal we know and love is base 10, and binary is base 2. Base means how many values we can put into a number before we have to start a new digit. Hexadecimal achieves base 16 by using 0-9 and ABCDEF which represents numbers 10-15, storing 16 values in one digit, of which the max value stored in one is F. Now, color in RGB format can be represented in hex like it can be in decimal. White is the color 255,255,255 in decimal, and per usual RGB rules, 255 is the highest we can go. 0 is no value, 255 is the max value for that color. In base 16, we can represent 255, or one byte, as FF. So white in RGB hex fromat is FF,FF,FF. Sometimes folks use a single number without the commas, like FFFFFF. Red is FF0000, blue is 00FF00, etc. Personally I'd use a color picker tool if I want to extract a hex number from a color I like to use
6th Sep 2019, 11:26 AM
Duck Typed
Duck Typed - avatar