Use rgb for the color red

Use rgb for the color red
0

#1

Tell us what’s happening:

Your code so far

<style>
  .red-text {
    color: rgb(255, 0, 0)
  }
  .orchid-text {
    color: rgb(218, 112, 214)
  }
  .sienna-text {
    color: rgb(160, 82, 45)
  }
  .blue-text {
    color: rgb(0, 0, 255)
  }
</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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-rgb-to-mix-colors


#2

You need semicolons at the end of each line of style, like
color: rgb(255, 0, 0); :arrow_backward: notice semicolon ; at end of line
In writing css that’s to be interpreted by the browser, like for a webpage, it’s not actually necessary to have a semicolon if you’ve got just one solitary line of code between the curly braces { } like that, but it’s good practice to always put the semicolons in there.


#3

freecodecamp is a good camp to lean I appreciate it