private int MULT( int X, int Y ) { return ( ( X ) * ( Y ) ) >> 16; } ColorEx HSVtoRGB( float h, float s, float v )