RGB Slider?

snaper's icon

Hy Guys,

Would like to create a slider with changing background color.

The background should fade from green to yellow then to red. (when the slider moves from 0. to 1.)

Is it possible?

balam's icon
Max Patch
Copy patch and select New From Clipboard in Max.

use this as a base

snaper's icon

Dear Balam,

Thank you!
...but I would like to change the color of the slider's background...sorry about the mistake.

snaper's icon

Ok, now its working!!!
Thank you very much!!!