----- Original Message ----- From: "Bob Ammerman" To: "Microcontroller discussion list - Public." Sent: Sunday, February 06, 2005 12:21 PM Subject: Re: [PIC:] RGB Color mixing or randomization > I would suggest using a different color model from RGB and then translating > to RGB at output time. > > For example, if you use HSB (hue, saturation, brightness) it is easy to > adjust hue (which color), saturation (how much color vs. black/white) and > brightness separately. There are simple formulae to convert from the HSB > values to RGB. Thanks Bob, but I've decided on a scheme that I like. It's giving me a virtual rainbow of nicely saturated colors. Thanks again. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist