+ 2
Any secret trick to learn specifying colors?
they are really a problem for me right now!
3 Réponses
+ 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)
+ 13
Maybe this article will help you😊
https://coding.smashingmagazine.com/2012/10/the-code-side-of-color/
Useful tools:
https://www.w3schools.com/colors/colors_picker.asp
https://www.w3schools.com/cssref/css_colors.asp
+ 1
Thanks guys! Now i understand everything about colors