Skip to content

rgb_strip

RGB Strip constants.

Classes:

Name Description
RgbColor

RGB Color.

Attributes:

Name Type Description
BRIGHT int

Bright intensity of a color.

DIM int

Dim intensity of a color.

LED_COUNT int

The amount of leds in the strip on the AALeC.

MEDIUM int

Medium intensity of a color.

c_blue RgbColor

Blue color (medium brightness)

c_cyan RgbColor

Cyan color (medium brightness)

c_green RgbColor

Green color (medium brightness)

c_off RgbColor

Led Off

c_purple RgbColor

Purple color (medium brightness)

c_red RgbColor

Red color (medium brightness)

c_white RgbColor

White color (medium brightness)

c_yellow RgbColor

Yellow color (medium brightness)

BRIGHT module-attribute

BRIGHT: int = const(200)

Bright intensity of a color.

DIM module-attribute

DIM: int = const(50)

Dim intensity of a color.

LED_COUNT module-attribute

LED_COUNT: int = const(5)

The amount of leds in the strip on the AALeC.

MEDIUM module-attribute

MEDIUM: int = const(100)

Medium intensity of a color.

c_blue module-attribute

c_blue: RgbColor = RgbColor(0, 0, 100)

Blue color (medium brightness)

c_cyan module-attribute

c_cyan: RgbColor = RgbColor(0, 50, 50)

Cyan color (medium brightness)

c_green module-attribute

c_green: RgbColor = RgbColor(0, 100, 0)

Green color (medium brightness)

c_off module-attribute

c_off: RgbColor = RgbColor(0, 0, 0)

Led Off

c_purple module-attribute

c_purple: RgbColor = RgbColor(50, 0, 50)

Purple color (medium brightness)

c_red module-attribute

c_red: RgbColor = RgbColor(100, 0, 0)

Red color (medium brightness)

c_white module-attribute

c_white: RgbColor = RgbColor(33, 33, 33)

White color (medium brightness)

c_yellow module-attribute

c_yellow: RgbColor = RgbColor(50, 50, 0)

Yellow color (medium brightness)

RgbColor

Bases: namedtuple('RgbColorBase', ['r', 'g', 'b'])

RGB Color.

Attributes:

Name Type Description
r int

red part of the color. (0-255)

g int

green part of the color. (0-255)

b int

blue part of the color. (0-255)