Better box color implementation