Click the green flag to spin the spinner to a random color. BTW this is a really, really bad project that I didn't really spend any effort in.
Credits to my math teacher, Mr. He, for teaching me about experimental probability.