Hexadecimal colors tricks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Hexadecimal colors tricks

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...

15th Jan 2018, 6:14 AM
Dzoyem Barry
Dzoyem Barry - avatar
21 Answers
+ 10
... 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 #000000 black #ffffff white Thanks for reading, dislike if not important so i delete the post. :)
15th Jan 2018, 6:20 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 8
Thanks for sharing this with us. One problem : are u sure that #ff01ff will give black?? I think that red+blue will give magenta. Am i wrong?
15th Jan 2018, 6:28 AM
Al Toe
+ 4
time consuming alternative @geralt of rivia esp. when answering challenges
15th Jan 2018, 6:32 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 4
@geralt Nikolay is Sololearn's best learner from Bulgaria and probably the most famous.. 21.2k followers
15th Jan 2018, 6:38 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 3
@Err404 yeah i'm sure.
15th Jan 2018, 6:41 AM
Al Toe
+ 2
sure @alfred?
15th Jan 2018, 6:32 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
@geralt of course
15th Jan 2018, 6:36 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
ok @alfred... im only human, gonna correct that
15th Jan 2018, 6:42 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
Try challenging people like me, Nikolay, Igor Magarsky, Bang TU Cuong, Nikki Armesh, Brains, Nelson Lobo, Phoenix, Krishna Teja, Ace... in short, people with levels >= to yours
15th Jan 2018, 6:44 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
yeah, the outstanding
15th Jan 2018, 6:51 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
sure, if you make 2000xp everyday.. just exagerating well, but you need to work much more harder than often
15th Jan 2018, 6:54 AM
Dzoyem Barry
Dzoyem Barry - avatar
+ 2
i have made a background color picker with that show the Color Values https://code.sololearn.com/WQ07xmADJTl5/?ref=app
16th Jan 2018, 7:23 AM
Brennan Woodroof
Brennan Woodroof - avatar
+ 1
Nice.
15th Jan 2018, 6:29 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
+ 1
If want to know just go to play ground and start trying each.
15th Jan 2018, 6:30 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
+ 1
Hummm.So you are a challenger?
15th Jan 2018, 6:33 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
+ 1
Actually who is Nikolay Nachev? I saw he is at the top.
15th Jan 2018, 6:36 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
+ 1
I like that.So why people keep rejecting my challenges?
15th Jan 2018, 6:41 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
0
Thanks @Err4o4.So this guys you mentioned are the best ones hum? 😃😃☺☺?
15th Jan 2018, 6:48 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
0
I Like that.I think maybe i can beat them one day.
15th Jan 2018, 6:53 AM
Geralt Of Rivia
Geralt Of Rivia - avatar
0
Thanks for you advice @Err4o4. I will follow these guys you said.And try to be the best in this thing.
15th Jan 2018, 6:56 AM
Geralt Of Rivia
Geralt Of Rivia - avatar