consistant colors

Adds the colour to digit mapping and uses it