No JavaScript support?
Read the number and colour the correct amount.