ColorPickerPreference for android to create color picker in preferences. Project created as Library
Used PreferenceFragmentCompat instead of Preference This will also make the library works well with AppCompat and AndroidX