Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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,,,
2 Respostas
+ 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)
+ 2
In challenges colors are easy, like black, white, red etc