color

from random import randint

class Color:
    white = (255, 255, 255)
    black = (0, 0, 0)
    red = (255, 0, 0)
    green = (0, 255, 255)
    blue = (0, 0, 255)
    yellow = (255, 255, 0)
    gray = (155, 155, 155)

    @staticmethod
    def random_color():
        return randint(0, 255), randint(0, 255), randint(0, 255)

你可能感兴趣的:(color)