question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

last html lesson "use rgb to mix colors"

See original GitHub issue

Challenge Use RGB to Mix Colors has an issue. User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:


<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>

When I submit my code the program will not let me pass because all the “Use rgb for the color y” answers are ex-out. I asked about this in the forum and everyone seemed to think my coding is correct. Plus, all the text that are supposed to change colors do change to the appropriate color. Help! What is wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
ghostcommented, Jun 14, 2016

@BlindBlake Your just missing the semi-colons after each rgb(): i.e. color: rgb(255,0,0);

0reactions
rjkmurraycommented, Jun 3, 2017

Try try again

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML RGB and RGBA Colors - W3Schools
In HTML, a color can be specified as an RGB value, using this formula: rgb(red, green, blue) ... Experiment by mixing the RGB...
Read more >
RGB Color – HTML and CSS Guide - freeCodeCamp
With RGB, each value is mixed in with the rest and together they create a wide range of hues. You can even create...
Read more >
color-mix() - CSS: Cascading Style Sheets - MDN Web Docs
The color-mix() functional notation takes two color values and returns the result of mixing them in a given colorspace by a given amount....
Read more >
RGB Color Model | How It Work | Uses & Example | Advantages
As we already discussed above, the basic principle behind the working of the RGB color model is additive color mixing. It is the...
Read more >
A short tutorial on RGB color mixing and glazing grids - pixls.us
I made two small paintings to illustrate using the four basic RGB blend modes in a linear gamma RGB working space, and the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found