It is too late for the initial interlocutor, whom I expect, but here is the library that I wrote after I did not find what I need here. It can be used as follows:
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <com.rarepebble.colorpicker.ColorPreference android:key="myColor" android:title="@string/pref_title" android:defaultValue="#f00" /> </PreferenceScreen>
More details here:
HSV-Alpha Color Picker for Android (GitHub).
HSV-Alpha Color demo (Google Play).
I hope this is helpful to someone else.

source share