column with calculated according to number of colours