#4229 - Vortex - Mon Mar 24, 2003 8:09 pm
Hello !
I am looking for a way to convert RGB (Red/Green/Blue) color value into HSL (Hue/Saturation/Light) and vice versa. A perfect algorithm should not include any trig functions and/or divisions.
I need this to implement a smooth fade in/fade out effect.
Any help will be appreciated.
Thank you
I am looking for a way to convert RGB (Red/Green/Blue) color value into HSL (Hue/Saturation/Light) and vice versa. A perfect algorithm should not include any trig functions and/or divisions.
I need this to implement a smooth fade in/fade out effect.
Any help will be appreciated.
Thank you