convert 3 fields to colour types