Wrote ValueSlider class and got it working with ColorGradientFrame