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:
-
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.
-
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.
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:
The
led_deck_ctrl.rgb888parameter: 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.The
colorLedBot.wrgb8888/colorLedTop.wrgb8888parameters: 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.