Is there a color named "deep"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

Is there a color named "deep"?

Hi. I was just experimenting with one of my codes and found out that "deep" is a valid color name in HTML. I also tried with other names such as "deep blue", "deep green", "deep red" but it generates unexpected output. Can you please tell me the reason behind it? Code given below... https://code.sololearn.com/W58j62nNN1hA/?ref=app

3rd Jul 2020, 1:00 PM
Mahdee Mohammad
Mahdee Mohammad - avatar
22 Answers
+ 19
Maybe this old thread can help to describe why. https://www.sololearn.com/Discuss/554275/?ref=app
3rd Jul 2020, 1:18 PM
Ipang
+ 12
Oma Falk In the beginning I was thinking that "chucknorris" is translated into red because he makes fire everywhere he goes. So browsers render it in red in honour to his legend. And the browser vendors certainly didn't wanna mess with him 😂
3rd Jul 2020, 2:15 PM
Ipang
+ 8
Ipang your version sounds reasonable. 😉
3rd Jul 2020, 2:18 PM
Oma Falk
Oma Falk - avatar
+ 8
Wow that is really interesting. :D
3rd Jul 2020, 2:36 PM
Schindlabua
Schindlabua - avatar
+ 8
Amaranth Deep Purple #9f2b68 Antarctic Deep #35383f Aqua Deep #014b43 Atlantic Deep #274e55 Deep Amethyst #5b3082 Deep Aquamarine #78dbe2 Deep Blue #040273 Deep Blush #e36f8a Deep Bottlebrush #5e675a Deep Breath #27275f Deep Bronze #51412d Deep Cerulean #007bbb Deep Champagne #fad6c5 Deep Chestnut #b94e48 Deep Claret #771133 https://code.sololearn.com/WtcVHJtWsTH3/?ref=app
4th Jul 2020, 7:58 AM
Calviղ
Calviղ - avatar
+ 8
Oma Falk Color name with 10 characters length, blackberry, watermelon, ... https://code.sololearn.com/WEyqmjqHsynC/?ref=app
4th Jul 2020, 11:02 AM
Calviղ
Calviղ - avatar
+ 7
"sololearn" makes a nice color too! Sorry didn't fully understand your question. really funny!
3rd Jul 2020, 1:06 PM
Oma Falk
Oma Falk - avatar
+ 7
Mahdee Mohammad Ipang I made a challenge from it: Enter a word with 10 characters and find the parsed color.
3rd Jul 2020, 1:36 PM
Oma Falk
Oma Falk - avatar
3rd Jul 2020, 3:13 PM
Daljeet Singh
Daljeet Singh - avatar
+ 6
Mahdee Mohammad man..... that's a real cool question!
3rd Jul 2020, 1:39 PM
Oma Falk
Oma Falk - avatar
+ 4
Ipang that's it!
3rd Jul 2020, 1:21 PM
Oma Falk
Oma Falk - avatar
+ 3
Oma Falk I didn't understand.
3rd Jul 2020, 1:08 PM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 3
Oma Falk Oh I got this. A little bug in HTML lol
3rd Jul 2020, 1:34 PM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 3
Oma Falk wow nice! It is quite a new thing to me that's why I asked. Hope I didn't offend.
3rd Jul 2020, 1:38 PM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 3
Schindlabua yeah! really it is!
3rd Jul 2020, 2:37 PM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 3
No, But every color has it's deep version.
4th Jul 2020, 4:08 PM
Sofia7847
+ 2
Really cool! Genius HTML!
4th Jul 2020, 6:05 AM
Frenchtoast
Frenchtoast - avatar
+ 2
Martin Taylor great response, thanks for making those points
4th Jul 2020, 11:32 PM
Dexter Z
Dexter Z - avatar
+ 2
Xylem Actually it does not need that much time to learn but I use to make projects after every lesson I finish. And I am not done yet.
5th Jul 2020, 10:31 AM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 2
bell Chuck Norris only works in pure html.not in css So also not in js.
5th Jul 2020, 1:27 PM
Oma Falk
Oma Falk - avatar