Pelles C forum

C language => Beginner questions => Topic started by: rob on July 25, 2007, 09:56:15 PM

Title: RGB and HSB
Post by: rob on July 25, 2007, 09:56:15 PM
Is there a way to get HSB values?  With GetPixel I can get RGB values but i need the HSB values.  If there isnt a way to get them, is there an easy way to convert the values?
Title: Re: RGB and HSB
Post by: JohnF on July 25, 2007, 11:35:11 PM
Take a look here

http://www.cs.rit.edu/~ncs/color/t_convert.html

John