Skip to content

Conversation

@Ununp3ntium115
Copy link

Fixes issue #22: How to translate Max For Live colors to Palette Color Index?

Adds a new section explaining how to convert arbitrary RGB color values to
the closest Push 2 color palette index.

Changes:

  • Added section "Converting RGB Values to Color Palette Indices"
  • Step-by-step algorithm with distance calculation methods
  • Includes Euclidean and LAB color space methods

Files Changed:

  • doc/AbletonPush2MIDIDisplayInterface.asc

Ready for squash-and-merge.

…palette indices

Add a new section explaining how to convert arbitrary RGB color values to
the closest Push 2 color palette index. This includes:
- Instructions for retrieving the complete palette
- Distance calculation methods (Euclidean and perceptual)
- Alternative approach of modifying the palette with custom colors

This addresses the question about translating Max For Live colors to
Palette Color Index values.
Copilot AI review requested due to automatic review settings January 16, 2026 01:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds documentation to address issue #22, which asks how to translate Max For Live colors to Push 2 color palette indices. The addition provides clear guidance on converting arbitrary RGB values to the closest available palette index, including algorithm steps and alternative approaches.

Changes:

  • Added a new documentation section "Converting RGB Values to Color Palette Indices"
  • Explains the constraint that Push 2 LEDs require palette indices (0-127) rather than direct RGB values
  • Provides step-by-step algorithm with distance calculation methods (Euclidean and LAB color space)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Ununp3ntium115 and others added 2 commits January 16, 2026 15:07
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant