Changed amount of color classes is now included in input as data