How can i change the color degree depending on value changing

Viewed 20

i am trying to change the color degree depend on sliding the button

i have the following screenshot

enter image description here

I'm trying to change the yellow color degree according to the movement of the key

How could i achieve that

0 Answers
Related