nspyre.gui.style._colors

Color palette. Some colors from https://gist.github.com/mishelen/9525865.

Module Contents

Functions

avg_colors(color_a, color_b)

Average two colors by RGB value.

Attributes

dark_grey

grey

almost_white

green_sea

nephritis

belize_hole

amethyst

wet_asphalt

orange

sun_flower

pumpkin

pomegranate

clouds

concrete

blackish

colors

Some colors.

cyclic_colors

Select list of colors for plotting.

nspyre.gui.style._colors.avg_colors(color_a, color_b)

Average two colors by RGB value.

Parameters:
  • color_a (tuple) – first color

  • color_b (tuple) – second color

Returns:

averaged color as a tuple

nspyre.gui.style._colors.dark_grey = (53, 53, 53)
nspyre.gui.style._colors.grey = (70, 70, 70)
nspyre.gui.style._colors.almost_white = (240, 240, 240)
nspyre.gui.style._colors.green_sea = (22, 160, 133)
nspyre.gui.style._colors.nephritis = (39, 174, 96)
nspyre.gui.style._colors.belize_hole = (41, 128, 185)
nspyre.gui.style._colors.amethyst = (155, 89, 182)
nspyre.gui.style._colors.wet_asphalt = (52, 73, 94)
nspyre.gui.style._colors.orange = (243, 156, 18)
nspyre.gui.style._colors.sun_flower = (241, 196, 15)
nspyre.gui.style._colors.pumpkin = (211, 84, 0)
nspyre.gui.style._colors.pomegranate = (192, 57, 43)
nspyre.gui.style._colors.clouds = (236, 240, 241)
nspyre.gui.style._colors.concrete = (149, 165, 166)
nspyre.gui.style._colors.blackish = (24, 24, 24)
nspyre.gui.style._colors.colors: Dict

Some colors.

nspyre.gui.style._colors.cyclic_colors: list[tuple]

Select list of colors for plotting.