Add color attributes to shapes.