Separate Red Slider In Plugin?

I would like to have a Slider in my plugin that allows the change of the Red Channel.
Does anyone know how to implement this