This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Sun, Earth, and Code Forum

View Course » View Exercise

136 points
4d66f1a5a60dc777ff052f89395783ab?s=140&d=retro
Submitted by
DaleMaus
almost 3 years ago

What colours can be used?

Which colours are recognised by the program? For example the border of the sun is 'orange' and you can use 'cyan' for the earth. Is there another way to specify colours rather than using words, and which words can you use?


3 votes

permalink

Hi, these are the names you can use. And, the Sun, Earth, and Code course isn't a great beginner course. The HTML & CSS course is better if you want to learn HTML. If you want to use a specific color, use something like this and use the hex value it gives you.

2818 points
5674c6dae39efec455000434_879409444
Submitted by
Zeke Y
almost 3 years ago


0 votes

permalink

I know there are 25 different colours that codecademy understands. I saw in a excercise, I don't remember them but I remember one is salmon.

642 points
5793e37558212240e90003fd_774329516
Submitted by
iiRosie1
over 2 years ago

2 Comments

5674c6dae39efec455000434_879409444 Zeke Y over 2 years ago

The link I provided above gives a list of all named colors that the browser understands, and it's not Codecademy understanding the color names, it's the browser.

5793e37558212240e90003fd_774329516 iiRosie1 over 2 years ago

Ok, but I was doing this excersice and it appeard saying"These are the 25 coulers that codecademy understands"