+ 6

How to know the color from html color codes and how to know the html color from color names?

for example- how do you the exact color code for green color, or purple color, or grey colour? and how do we know #f0f0f0 is which color?

23rd Jan 2018, 12:04 PM
Dayanand Raut
Dayanand Raut - avatar
4 Answers
+ 15
This maybe helpful for you and don't forget to checkout the awesome submission by Calvin! šŸ˜‰ https://www.sololearn.com/discuss/790138/?ref=app
23rd Jan 2018, 3:30 PM
Zephyr Koo
Zephyr Koo - avatar
+ 10
@Dayanand Raut Glad to hear that and you're welcome! šŸ˜‰
24th Jan 2018, 4:09 PM
Zephyr Koo
Zephyr Koo - avatar
+ 5
thank you so much... got overal idea abt the color codes
23rd Jan 2018, 5:39 PM
Dayanand Raut
Dayanand Raut - avatar
+ 4
I was lazy to add all the text colors, but I ve added few , If anyone can add more text colors and hex codes to the object cnameArr at line 288 , I d be grateful. right now I ve only included my favourite text colors that I have came across on others code in playground, info: color names are at lower left corner, click on them to see in action https://code.sololearn.com/W5Of8safsGpc/?ref=app
24th Jan 2018, 4:19 PM
Morpheus
Morpheus - avatar