I have a question that is related to post How to color sliderbar (sliderInput)?.
Is it possible to make the sliderInput change its color dependent on the chosen value?
I would like to offer the user to input a value from 0 to 10. However, there is a recommended range from, say, 4 to 8. As a consequence, the slider color should be green if the user chooses a value between 4 and 8, but it should change to orange (or red) if a value outside the recommended range is chosen.
Any help on implementing this would be greatly appreciated.
Use renderUI, and control the conditions in color() any way you want