RGB in, HLS out


temp0[1] David Veeneman wrote a neat little console application that will convert RGB colors to HLS (Hue-Luminance-Saturation) or HSB (Hue-Saturation-Brightness) over at Code Project.

One of the neat things David also did was show off using IValueConverter as well to do some of the conversion for you.

David did use an MSDN article as reference, if you want to see the sample, head over to http://msdn.microsoft.com/en-us/library/ms771620.aspx


utility, WPF, C4FNews

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.