How to write RGB values

How to write RGB values
0

#1

Tell us what’s happening:

Your code so far

<style>
  .red-text {
    color: #000000;
  }
  .orchid-text {
    color: #000000;
  }
  .sienna-text {
    color: #000000;
  }
  .blue-text {
    color: #000000;
  }
</style>

<h1 class="red-text">I am red!</h1>

<h1 class="orchid-text">I am orchid!</h1>

<h1 class="sienna-text">I am sienna!</h1>

<h1 class="blue-text">I am blue!</h1>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 OPR/49.0.2725.47.

Link to the challenge:


#2

What part of the challenge instructions do you not understand?


#3

If I wanted to create a class called “orange-text” and make the text color orange, I could use the following rgb syntax to make it work:

<style>
  .orange-text {
    color: rgb(255,165,0);
  }
</style>

<h1 class="orange-text">I am orange!</h1>