def make_color_table(in_class):
 for (name, value) in color_templates:
  setattr(in_class, name, (in_class._base % value))

def make_color_table ( in_class ) : for ( name , value ) in color_templates : setattr ( in_class , name , ( in_class . _base % value ) )
build a set of color attributes in a class .