set color of box in grammar