added form ref in template color.html