Colors!ΒΆ

Get a list of colors into your game easily.

Create a file and put the following colors into it. Then, wherever you want to use them, you can just import them!

# assuming file is all_colors.py

from all_colors import *

The colors:

# some colors
# gray
BLACK = (0, 0, 0)
GRAY80 = (51, 51, 51)
GRAY60 = (102, 102, 102)
GRAY40 = (153, 153, 153)
GRAY20 = (204, 204, 204)
WHITE = (255, 255, 255)

# pink
LIGHT_PINK = (255, 150, 235)
PINK = (255, 100, 255)
MAGENTA = (255, 0, 255)
CORAL = (255, 160, 160)

# red
RED = (255, 0, 0)
BRICK_RED = (175, 25, 0)
SCARLET = (255, 75, 0)

# orange
ORANGE = (255, 110, 0)
LIGHT_ORANGE = (250, 160, 0)

# yellow
GOLD = (255, 215, 0)
YELLOW = (255, 255, 0)

# green
NEON_GREEN = (160, 255, 0)
LIGHT_GREEN = (0, 255, 0)
GREEN = (10, 150, 10)
FOREST_GREEN = (10, 75, 0)

# blue
CYAN = (0, 255, 255)
PERIWINKLE = (150, 150, 210)
LIGHT_BLUE = (0, 150, 255)
BLUE = (0, 0, 255)
NAVY_BLUE = (0, 0, 100)

# violet
ROYAL_BLUE = (100, 0, 255)
VIOLET = (150, 0, 255)
LAVENDER = (225, 150, 255)

# brown
BROWN = (120, 60, 0)
BEIGE = (255, 200, 150)