All Projects → jaredrummler → Colorpicker

jaredrummler / Colorpicker

Licence: apache-2.0
A highly customizable color picker for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Colorpicker

vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (-86.34%)
Mutual labels:  color-picker, dialog
global-color-picker
start the script and click anywhere to get rgb value at the cursor location
Stars: ✭ 31 (-95.19%)
Mutual labels:  color-picker, colorpicker
pikko
Color picker for iOS made with ❤️
Stars: ✭ 34 (-94.72%)
Mutual labels:  color-picker, colorpicker
Simpledialogfragments
A collection of easy to use and extendable DialogFragment's for Android
Stars: ✭ 94 (-85.4%)
Mutual labels:  dialog, color-picker
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-57.92%)
Mutual labels:  color-picker, colorpicker
andColorPicker
Color picker library for Android
Stars: ✭ 233 (-63.82%)
Mutual labels:  color-picker, colorpicker
Color-O-Matic
Beautiful color picker dialog for Android 9+
Stars: ✭ 43 (-93.32%)
Mutual labels:  color-picker, dialog
Kallewheel
A custom color wheel extension for Adobe Photoshop
Stars: ✭ 16 (-97.52%)
Mutual labels:  color-picker, colorpicker
Egorozh.ColorPicker
🎨🎨🎨 Best of the best ColorPicker on WPF and AvaloniaUI
Stars: ✭ 39 (-93.94%)
Mutual labels:  color-picker, colorpicker
colorpicker
pure Angular.JS circle color-picker similar to google keep's color picker
Stars: ✭ 23 (-96.43%)
Mutual labels:  color-picker, colorpicker
React Colorpickr
A themeable colorpicker with HSL and RGB support for React
Stars: ✭ 180 (-72.05%)
Mutual labels:  color-picker, colorpicker
Colorpickerpreference
🎨 A library that lets you implement ColorPicker, ColorPickerDialog, ColorPickerPreference.
Stars: ✭ 407 (-36.8%)
Mutual labels:  dialog, colorpicker
Bootstrap Colorpicker
Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.
Stars: ✭ 1,351 (+109.78%)
Mutual labels:  color-picker, colorpicker
meazure
Screen magnification, measurement, capture and color sampling for Windows.
Stars: ✭ 55 (-91.46%)
Mutual labels:  color-picker, colorpicker
Colorpickerview
🎨 Android colorpicker for getting colors from any images by tapping on the desired color.
Stars: ✭ 1,042 (+61.8%)
Mutual labels:  color-picker, colorpicker
ColorPicker
Powerful screen ColorPicker/Chooser application for Linux Desktop
Stars: ✭ 55 (-91.46%)
Mutual labels:  color-picker, colorpicker
Colorpicker
A mininal but complete colorpicker desktop app
Stars: ✭ 766 (+18.94%)
Mutual labels:  color-picker, colorpicker
ColorPickView
🐾一个自定义的颜色选择view
Stars: ✭ 19 (-97.05%)
Mutual labels:  color-picker, colorpicker
Pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
Stars: ✭ 3,759 (+483.7%)
Mutual labels:  color-picker, colorpicker
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (-27.48%)
Mutual labels:  color-picker, colorpicker

Color Picker

API License Maven Central

Yet another open source color picker for Android. So, why should you use this color picker? It is highly customizable and easy to use. You can simply add the ColorPreference to your preferences and a beautiful color picker dialog will be displayed without additional code. The color picker supports alpha and allows you to set your own presets.

The original ColorPickerView was written by Daniel Nilsson.

Screenshots

GIF    Screenshot

Usage

Add the ColorPreference to your preference XML:

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:app="http://schemas.android.com/apk/res-auto">

  <PreferenceCategory>

    <com.jaredrummler.android.colorpicker.ColorPreference
        android:defaultValue="@color/color_default"
        android:key="default_color"
        android:summary="@string/color_default_summary"
        android:title="@string/color_default_title"/>

    ...

  </PreferenceCategory>

</PreferenceScreen>

Note: Using AndroidX's PreferenceFragmentCompat? Then use com.jaredrummler.android.colorpicker.ColorPreferenceCompat

You can add attributes to customize the ColorPreference:

name type documentation
cpv_dialogType enum "custom" to show the color picker, "preset" to show pre-defined colors
cpv_showAlphaSlider boolean Show a slider for changing the alpha of a color (adding transparency)
cpv_colorShape enum "square" or "circle" for the shape of the color preview
cpv_colorPresets reference An int-array of pre-defined colors to show in the dialog
cpv_dialogTitle reference The string resource id for the dialog title. By default the title is "Select a Color"
cpv_showColorShades boolean true to show different shades of the selected color
cpv_allowPresets boolean true to add a button to toggle to the custom color picker
cpv_allowCustom boolean true to add a button to toggle to the presets color picker
cpv_showDialog boolean true to let the ColorPreference handle showing the dialog

You can also show a ColorPickerDialog without using the ColorPreference:

ColorPickerDialog.newBuilder().setColor(color).show(activity);

All the attributes above can also be applied to the ColorPickerDialog. The activity that shows the dialog must implement ColorPickerDialogListener to get a callback when a color is selected.

For further doumentation about how to use the library, check the demo app included in this project.

Download

Download the latest AAR or grab via Gradle:

implementation 'com.jaredrummler:colorpicker:1.1.0'

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].