Patch input colors

This is the PG side of the [corresponding pull](https://github.com/openwebwork/webwork2/pull/460) for webwork2