skydoves / Multi-ColorPicker

Android multi colorpicker for getting colors from any images by tapping on the desired color.
Apache License 2.0
124 stars 17 forks source link

How to move selector not to a point but to a color #2

Open Bloubloublou opened 6 years ago

Bloubloublou commented 6 years ago

There is a way to move selector to a coordinate (x,y); but is there a way to move it to a peculiar color? My case is the typical case of a color picker associated with R,G and B inputs; color picker updates inputs but how inputs can update color picker? (I could do a function which transforms rgb to (x,y) but I'm hoping tht you thought of this........ :c)

I am seeing in android studio that Selector objects have a setColor(int) method. Is there a way with this?