nspyre.gui.style._colors

Color palette.

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

List of colors from

cyclic_colors

List of colors for plotting based on

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

List of colors from https://gist.github.com/mishelen/9525865.

nspyre.gui.style._colors.cyclic_colors = [(0.12156, 0.46666, 0.70588), (1.0, 0.49803, 0.0549), (0.17254, 0.62745, 0.17254), (0.58039,...

List of colors for plotting based on Tableau.