Hexadecimal Color Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Hexadecimal Color Problem

Is there anyone who will explain about these colors value in details because I loose most of the html challenges only because of hexadecimal colors questions 😠 I tried to remember all the colors questions but still I'm doing mistake in same question again and again 😮 and yeah also explain this code https://code.sololearn.com/cdSoRuRGl0Ma/?ref=app

16th Jan 2018, 6:44 AM
Я. ♨
Я. ♨ - avatar
2 Answers
+ 8
you can see this for the hexadecimal colours.. https://www.w3schools.com/colors/default.asp
16th Jan 2018, 7:38 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 3
The hexadecimal color code is actually a combination of RGB (Red, Green, Blue) color components i.e. #RRGGBB. When a value is specified for all of these color components a color is obtained. For example, when each components is set to 00(Min) it yeilds the BLACK and when each is set to ff (Max) it yeilds the WHITE color.
18th Jan 2018, 4:44 AM
ABDUL MANAN
ABDUL MANAN - avatar