Should we memorize color codes in html or there's a way to deduce the color? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Should we memorize color codes in html or there's a way to deduce the color?

color codes in html

21st Nov 2017, 10:51 AM
Zahraa
Zahraa - avatar
9 Answers
+ 14
https://code.sololearn.com/Wr6hmnFieP0P/?ref=app
21st Nov 2017, 11:05 AM
jay
jay - avatar
+ 10
Google the keyword "Color Picker".
21st Nov 2017, 11:06 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 10
Just memorize one code, #rrggbb. Where rr is the red color code gg is green code bb is blue code. Each code range from hex number 00 to FF, from 0% to 100% color.
21st Nov 2017, 11:37 AM
Calviղ
Calviղ - avatar
+ 7
its in #rrggbb format you can also use #rgb
21st Nov 2017, 11:53 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 5
All the answers above are good. So, I'll suggest something else instead of repeating the same answer. You can use rgb(r, g, b) if you're not very familiar with the Hexadecimal values. 'r','g' and 'b' are integers from 0 to 255 Example: rgb(0, 54, 255)
21st Nov 2017, 3:02 PM
Oussama Bezzad
Oussama Bezzad - avatar
+ 4
just use #rrggbb format
21st Nov 2017, 12:29 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 3
for sure there is a way you can learn the logic behind them I would recommend to read this article https://www.smashingmagazine.com/2012/10/the-code-side-of-color/
21st Nov 2017, 11:05 AM
omar
omar - avatar
0
hi
27th Nov 2017, 6:42 PM
Wasif Izhar
Wasif Izhar - avatar