QuadFlask / Colorpicker
πcolor picker for android
Stars: β 1,054
Programming Languages
java
68154 projects - #9 most used programming language
Labels
Projects that are alternatives of or similar to Colorpicker
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) π¨
Stars: β 467 (-55.69%)
Mutual labels: color-picker
Small Color Picker
jQuery color picker and button styles
Stars: β 16 (-98.48%)
Mutual labels: color-picker
Leonardo
Generate colors based on a desired contrast ratio
Stars: β 973 (-7.69%)
Mutual labels: color-picker
Colorpicker
A highly customizable color picker for Android
Stars: β 644 (-38.9%)
Mutual labels: color-picker
Iro.js
π¨ Modular color picker widget for JavaScript, with support for a bunch of color formats
Stars: β 796 (-24.48%)
Mutual labels: color-picker
Vertical Slide Color Picker
π¦ Vertical slide color picker for Android
Stars: β 18 (-98.29%)
Mutual labels: color-picker
Chromacolorpicker
π¨ An intuitive iOS color picker built in Swift.
Stars: β 434 (-58.82%)
Mutual labels: color-picker
Colorpickerview
π¨ Android colorpicker for getting colors from any images by tapping on the desired color.
Stars: β 1,042 (-1.14%)
Mutual labels: color-picker
Kallewheel
A custom color wheel extension for Adobe Photoshop
Stars: β 16 (-98.48%)
Mutual labels: color-picker
React Colorful
π¨ A tiny (2,5 KB) color picker component for React and Preact apps
Stars: β 951 (-9.77%)
Mutual labels: color-picker
Android Colorpickerpreference
ColorPickerPreference for android to create color picker in preferences. Project created as Library
Stars: β 657 (-37.67%)
Mutual labels: color-picker
Colorpicker
A mininal but complete colorpicker desktop app
Stars: β 766 (-27.32%)
Mutual labels: color-picker
Alerts And Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Stars: β 5,267 (+399.72%)
Mutual labels: color-picker
Cl Pkr
Cross-Platform Color Picker Written in Common Lisp
Stars: β 37 (-96.49%)
Mutual labels: color-picker
Vue Swatches
π¨ Help the user picking beautiful colors!
Stars: β 456 (-56.74%)
Mutual labels: color-picker
Przm
π¨ A simple, yet feature rich color picker and manipulator
Stars: β 17 (-98.39%)
Mutual labels: color-picker
Hsluv Dart
Dart port of HSLuv, a human-friendly alternative to HSL based on human experiments.
Stars: β 49 (-95.35%)
Mutual labels: color-picker
Color Picker
simple android color picker with color wheel and lightness bar.
Demo video
Screenshot
WHEEL_TYPE.FLOWER
WHEEL_TYPE.CIRCLE
How to add dependency?
This library is not released in Maven Central, but instead you can use JitPack
add remote maven url in allprojects.repositories
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
then add a library dependency
dependencies {
implementation 'com.github.QuadFlask:colorpicker:0.0.15'
}
or, you can manually download aar
and put into your project's libs
directory.
and add dependency
dependencies {
compile(name:'[arrFileName]', ext:'aar')
}
check out latest version at releases
Usage
As a dialog
ColorPickerDialogBuilder
.with(context)
.setTitle("Choose color")
.initialColor(currentBackgroundColor)
.wheelType(ColorPickerView.WHEEL_TYPE.FLOWER)
.density(12)
.setOnColorSelectedListener(new OnColorSelectedListener() {
@Override
public void onColorSelected(int selectedColor) {
toast("onColorSelected: 0x" + Integer.toHexString(selectedColor));
}
})
.setPositiveButton("ok", new ColorPickerClickListener() {
@Override
public void onClick(DialogInterface dialog, int selectedColor, Integer[] allColors) {
changeBackgroundColor(selectedColor);
}
})
.setNegativeButton("cancel", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
})
.build()
.show();
As a widget
<com.flask.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:alphaSlider="true"
app:density="12"
app:lightnessSlider="true"
app:wheelType="FLOWER"
app:lightnessSliderView="@+id/v_lightness_slider"
app:alphaSliderView="@+id/v_alpha_slider"
/>
<com.flask.colorpicker.slider.LightnessSlider
android:id="@+id/v_lightness_slider"
android:layout_width="match_parent"
android:layout_height="48dp"
/>
<com.flask.colorpicker.slider.AlphaSlider
android:id="@+id/v_alpha_slider"
android:layout_width="match_parent"
android:layout_height="48dp"
/>
To do
- gradle support
- performance improvement
- refactoring
License
Copyright 2014-2017 QuadFlask
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].