How to change the color with Grove - Variable Color LED

Hi
I like to Change the Color with the Grove - Variable Color LED but I can’t find how this is working. In the sample page there is a nice solution for Fading but not how I can choose the Color.
Would be great if someone has a hint.

Sorry, but I’m new in the grove world and may I’m just not understand the easy part :frowning: