LibGDX - Color Picker

android, libgdx, opengl-es, user-interface

Solution

Basically you would have an `Image` with the texture in your question, and detect `touches/drags` over it. Once you know the coordinates you're on, and having the `Pixmap`, you can know the color code with.-

public int getPixel(int x, int y)

Hope it helps.

Problem

How to implement `color picker` in LibGDX like below: Any help will be appreciated.

Original source