Implement the getValue function in GradientPanel that takes a Color and returns a value that the Image Slider can use in its constructor.
Implement the getValue function in GradientPanel that takes a Color and returns a value that the Image Slider can use in its constructor.