'return one of the eight*2 color'

def random_color(self):

    attributes = self.__class__.__dict__.keys()
    color_attrs = []
    for attr in attributes:
        if (attr.startswith('color') and (not attr.startswith('color0'))):
            color_attrs.append(attr)
    color_attr = random.choice(color_attrs)
    return getattr(self, color_attr)
