This is a little tricky since the values are usually unbounded. We wouldn't want the scrubbing to stop when the thumb reaches the end of the track.
For colors it could be nicer though: the endpoints are known, and we could even show a gradient in the background of the slider track to indicate the range of color values.