Skip to content

ableton.v3.control_surface.colors (runtime)

Live 12 — Live Object Model & framework reference (descriptions and signatures).

Module constants

  • STANDARD_COLOR_PALETTE = {10927616: 74, 16149507: 84, 4047616: 76, 6441901: 69, 14402304: 99, 8754719: 19, 16725558: 5, 3947580: 71, 10056267: 15, 8237133: 18, 12026454: 11, 12565097: 7...
  • STANDARD_FALLBACK_COLOR_TABLE = ((0, 0), (1, 1973790), (2, 8355711), (3, 16777215), (4, 16731212), (5, 16711680), (6, 5832704), (7, 1638400), (8, 16760172), (9, 16733184), (10, 5840128), (11, ...

Classes

class BasicColors

Methods

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Attributes

  • OFF = <ableton.v3.control_surface.elements.color.SimpleColor object at 0x13c629110>
  • ON = <ableton.v3.control_surface.elements.color.SimpleColor object at 0x13c629090>

class SimpleColor(Color)

Helper class that provides a standard way to create an ABC using inheritance.

Properties

  • midi_value

Methods

__init__(self, value, channel=None, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

draw(self, interface)

Attributes

  • _abc_impl = <_abc._abc_data object at 0x13c6852c0> - Internal state held by ABC machinery.