How to know the color from html color codes and how to know the html color from color names? | SoloLearn: Learn to code for FREE!

+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?

1/23/2018 12:04:12 PM

Dayanand Raut

4 Answers

New Answer

+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

+10

@Dayanand Raut Glad to hear that and you're welcome! 😉

+5

thank you so much... got overal idea abt the color codes

+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