Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: How many colors does a rainbow have?

by Lawliet (Curate)
on Jan 25, 2009 at 19:21 UTC ( #738798=note: print w/replies, xml ) Need Help??

in reply to Re^2: How many colors does a rainbow have?
in thread How many colors does a rainbow have?

I thought it was Red, Blue, and Yellow.

Update: I obviously do not know what I am talking about :(

And you didn't even know bears could type.

  • Comment on Re^3: How many colors does a rainbow have?

Replies are listed 'Best First'.
Re: How many colors does a rainbow have?
by jonadab (Parson) on Feb 04, 2009 at 13:01 UTC
    I thought it was Red, Blue, and Yellow.

    That's what they teach in elementary school, but they're talking about paint, not light, when they teach you that. And it's still not quite exactly right. Technically it would be closer to magenta, cyan, and yellow, but they don't want to teach you words like "magenta" and "cyan" in kindergarten.

    Each of these three basic pigments absorbs one of the major colors of light that the eye sees. (Of course, the cheap paints you work with in gradeschool don't do so perfectly, by any means, but this is how it's supposed to work. If your pigments were perfect, mixing them all together would give you black; in practice, you usually get a murky brownish color, because the pigments you have are imperfect.)

    For instance, yellow pigment absorbs blue light, so what gets reflected is mostly green and red light; when the eye sees green and red, the brain interprets it as yellow. The other two pigments work similarly. For further reading on this subject, see CMYK color model.

    We're working on a multi-year set of freely redistributable Vacation Bible School materials.
Re^4: How many colors does a rainbow have?
by Anonymous Monk on Feb 06, 2009 at 04:00 UTC
    3 - Red Blue and Yellow, the other colors are achieved via dithering.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738798]
[choroba]: Shouldn't you replace it with your app's name?
[james28909]: i figured it out
[james28909]: upon trying various solutions, i was forgetting to package up the script into an executable
[marto]: that'll do it
[james28909]: im glad im not in charge of anything important, like filling up peanut butter jars

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-07-28 14:17 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (430 votes). Check out past polls.