Skip to content

Color LED Tab hex value can't be used directly in a script #812

@ArisMorgens

Description

@ArisMorgens

When picking a color in the Color LED Tab, the UI displays the color as a standard RGB hex. Internally, the tab converts this to WRGB format before writing to colorLedBot.wrgb8888 / colorLedTop.wrgb8888.

If you want to reuse the same color in a Python script, you have two options:

  1. The led_deck_ctrl.rgb888 parameter: it accepts plain RGB values, so the hex from the tab works directly in a script. However, this parameter is not deck-specific: it writes to all attached Color LED decks simultaneously.

  2. The colorLedBot.wrgb8888 / colorLedTop.wrgb8888 parameters: these are deck-specific, but require the color already in WRGB format. The tab does this conversion internally but never exposes the resulting value.

A possible solution could be the Color LED Tab exposing the WRGB value so users can directly copy it for their scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage neededIssues to be discussed in the next triage meeting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions