Skip to content

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

@peeddrroo

Description

@peeddrroo

Hi

From what I understood, it is not possible to send direct RGB values to Push LEDs. It's a shame, it would be very useful.
Anyway, I am trying to send colors I retrieve from M4L objects to Push LEDs. It's pretty cumbersome : I have to translate the 0x00rrggbb values into RGB, then calculate the Euclidian distance to each of the Index Color Palettes entries and find the lowest, then get the corresponding Index. And it's not even accurate.
I guess it's done more easily inside the software. Is there a way to achieve this "easiest way" inside M4L ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions