Fix colour mapping.