summaryrefslogtreecommitdiff
path: root/cameltris/color.py
blob: aec6d0dd3634f8125e86f1046367d0d93ff4786b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
""" This modules defines color helpers """

from enum import Enum


class Color(Enum):
    """ An enumeration of the different colors used in the game
    This enumeration can be passed (using .value) to pygame functions that
    expect a RGB tuple.
    """
    BLACK = (0, 0, 0)
    WHITE = (0XFF, 0XFF, 0XFF)
    BROWN = (163, 75, 31)
    BLUE = (30, 34, 164)
    GREEN = (30, 164, 59)
    RED = (164, 30, 30)
    PURPLE = (126, 30, 164)
    YELLOW = (164, 164, 30)
    CYAN = (30, 164, 150)