# Re: Given a RGB color value (e.g 255), how to get its red,green and blue values?(no text)

Posted by andyLin on August 14, 1999 at 16:58:42:

In Reply to: Given a RGB color value (e.g 255), how to get its red,green and blue values?(no text) posted by wei on August 13, 1999 at 23:53:08:

rgb(255,0,0)=red
rgb(0,255,0)=green
rgb(0,0,255)=blue
rgb(255,255,0)=yellow (beacause yellow=red+green)
rgb(255.0.255)=purple (beacuase purple=red+blue)
you can change color by these rule

Follow Ups: