As I understand you want a web application which shows 3 colored box on screen and whenever user click on any one box , its information will recorded in database.
this can be done with HTML/CSS and PHP/MySQL as back-end, and a web server is needed, you can start your web server for intranet free of cost by using "xampp", or can put it on Internet by Purchasing a web hosting.
I can also create script to create excel files of this data so that you can visualize it in MS Excel.
thanks,