# Use RGB to Mix Colors need help

**URL:** <https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115>\
**Category:** General\
**Created:** [September 1, 2017, 12:39am UTC](https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115 "2017-09-01T00:39:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billyd](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Billyd](https://forum.freecodecamp.org/u/Billyd)\
**Post date:** [September 1, 2017, 12:39am UTC](https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115/1 "2017-09-01T00:39:38Z")

</div>

**Tell us what’s happening:**

I’m getting beyond frusterated with this one. i have tried every way i can think of, ask for help and get the vaguest answers at this point i just want the answer so i can move on to the next challenge and continue to learn. Its either that or i just find a different code school

**Your code so far**

```auto
<style>
  .rgb(255,0,0-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="rgb(255,0,0"-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 10.0; Win64; x64) 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](https://www.freecodecamp.org/challenges/use-rgb-to-mix-colors)

---

<div class="post-metadata">

**Author:** ![solona](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/solona/32/161405_2.png) [@solona](https://forum.freecodecamp.org/u/solona)\
**Post date:** [September 1, 2017, 12:49am UTC](https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115/2 "2017-09-01T00:49:17Z")

</div>

Your first color class looks weird:

```auto
.rgb(255,0,0-text{
    color: rgb(255, 0 , 0)
  }

```

It should look like:

```auto
.red-text {
    color: rgb(255, 0, 0);
  }

```

Also, your first `<h1>` doesn’t have the right class. It should look like:

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

```

I think you understand the concept. Just some typos or maybe copy/paste mistakes. 😃

---

<div class="post-metadata">

**Author:** ![Billyd](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Billyd](https://forum.freecodecamp.org/u/Billyd)\
**Post date:** [September 1, 2017, 12:58am UTC](https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115/3 "2017-09-01T00:58:31Z")

</div>

i didn’t copy and paste lol i had tried it that way initially, BUUUUUT i was missing the semi-colon:joy:😂  
THANK YOU SOOO MUCH!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:40pm UTC](https://forum.freecodecamp.org/t/use-rgb-to-mix-colors-need-help/145115/4 "2021-01-17T20:40:53Z")

</div>


