Class to handle DB colors.

Also display color on view page.