HTML

Click on the left circle to change its color

This example is based on this Mozilla example.