Any secret trick to learn specifying colors? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Any secret trick to learn specifying colors?

they are really a problem for me right now!

15th May 2018, 9:11 AM
Naldo
Naldo - avatar
3 Answers
+ 2
for the basic colors it's easy. you can think of them as RGB values. Red, Green, Blue. for their hexadecimal format. like #ddaa22 the first two digits are for Red the next two for Green the last two for Blue. (dd=Red / aa=Green / 22 = Blue) so for exapme #FF0000 will be red because the value of Red is greater than the others. Green #00FF00 Blue = #0000FF. Now when you notice that one value is greater than the others you will expect it to be some variant of that color. if they are all 0 then it's black, all F is white. if you are not familiar with hexadecimal use rgb(r, g, b) where r can be any value from (0-255) same for others. Red = rgb(255,0,0)
15th May 2018, 11:46 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Thanks guys! Now i understand everything about colors
20th May 2018, 3:38 PM
Naldo
Naldo - avatar