How can we make kids timer : <p>I am trying to make a timer application which will visually show how much time left in a different color. Like this -</p>

<p><a href="https://i.stack.imgur.com/Vo9Xi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vo9Xi.png" alt="enter image description here"></a></p>

<p>I made the analog clock with my own view but no idea how can we make this color changing thing. If any body can give any suggestion or sample code that will be really great. I found one code but it's CoreDova I am doing it in native. <a href="https://github.com/shaungallagher/timer-for-kids" rel="nofollow noreferrer">https://github.com/shaungallagher/timer-for-kids</a></p>
