How to remember color codes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to remember color codes

I often see challenges with question based on color codes,,,, but there are too many colors,,, and how to remember them,,,

6th Oct 2017, 4:17 PM
Rohan K M
Rohan K M - avatar
2 Answers
+ 9
You don't really need to remember, all you need to know is how to recognize the representation. For example hexadecimal color code can be represented in following format:- #RRGGBB where RGB stands for the amount of Red, Green and Blue respectively. It's obvious that a higher amount of each component will lead to a dominant color. For example, #001199 represents shade of Blue since it has the highest amount of Blue (i.e. 99). 📖 Takeaway ☑ You need to know how to count in hexadecimal ☑ Equal amount of each component will lead to different shades of Grey (e.g. #111111, #BBBBBB etc.) ☑ #FFFFFF represents White while #000000 represents Black (sometimes shorthand as #FFF and #000)
6th Oct 2017, 5:14 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
In challenges colors are easy, like black, white, red etc
6th Oct 2017, 4:20 PM
Aleksey Beliy
Aleksey Beliy - avatar