Basic CSS: Use RGB to Mix Colors

Tell us what’s happening:
i have done my coding as guide in this challenge but the problem everytime i want to run my code, it does not run and it says to use rgb to the 4 components while they are already applied. i need some help here

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:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Use RGB to Mix Colors

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-rgb-to-mix-colors

Hi @paul945
Welcome to the community.

Trying adding semi-colon at the end of the color property.

1 Like

You’re missing semi colons after each color code :slight_smile:

1 Like

@passive Thank you friend.

@dannyhodge95 Thank you for the reminder.