I need help with this

I need help with this
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 (X11; CrOS x86_64 9765.81.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.120 Safari/537.36.

Link to the challenge:


#2

You haven’t explained what you need help with exactly, but try changing:

  .blue-text {
    color: RGB(0, 0, 255)

to

  .blue-text {
    color: rgb(0, 0, 255)

and add a semicolon to the end of the color: rgb(...); lines


#3

its telling me to use rgb for the colours? what do they mean


#4

So rgb stands for Red, Green, Blue values, the three primary colors that make up every other color. Their values range from 0 up to 255 for each. So rgb(255,0,0) is 255 worth of red, for lack of a better way to explain, 0 of green, and 0 of blue. So the color will be Bright Red. CSS accepts color name such as “red” and also rgb values, which are formatted as (red#, green#, blue#) (and also HEX#s but you’ll get to there later).

See this link: Slider

Cheers!
Matt