All Projects → MindorksOpenSource → ViewColorGenerator

MindorksOpenSource / ViewColorGenerator

Licence: other
A library to generate color palette for view, imageview and image from URL.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to ViewColorGenerator

dynamic-utils
Utility functions to perform dynamic operations on Android.
Stars: ✭ 86 (+196.55%)
Mutual labels:  color, drawable
ProminentColor
Android Library to get average/prominent color of bitmap/drawable
Stars: ✭ 23 (-20.69%)
Mutual labels:  color, drawable
Extract-Color-Palette-Api
Create gradient drawable by extracting prominent colors from image⚫⚪
Stars: ✭ 16 (-44.83%)
Mutual labels:  color, drawable
Drawablecolorchange
Android Library to dynamically change color of drawable.
Stars: ✭ 101 (+248.28%)
Mutual labels:  color, drawable
ichiColor
Full features javascript color parser module, perfect work with vue.js; support RGB, HSL, HSV/HSB, HSL255, HSL240, HWB, XYZ, LAB, LUV, LHCab, xyY...
Stars: ✭ 23 (-20.69%)
Mutual labels:  color
colocat
Fegeya Colocat, Colorized 'cat' implementation. Written in C++17.
Stars: ✭ 14 (-51.72%)
Mutual labels:  color
ColorClockSaver
A screensaver for macOS
Stars: ✭ 57 (+96.55%)
Mutual labels:  color
strapless
Strapless is a color-changing CSS boilerplate for HTML elements, and a powerful LessCSS library for colors and patterns.
Stars: ✭ 27 (-6.9%)
Mutual labels:  color
goterminal
A cross-platform Go-library for updating progress in terminal.
Stars: ✭ 56 (+93.1%)
Mutual labels:  color
rgb-tui
Create and get colors code from the terminal using a nice interface.
Stars: ✭ 57 (+96.55%)
Mutual labels:  color
color-parse
Color string parser
Stars: ✭ 44 (+51.72%)
Mutual labels:  color
use-color-change
📈📉React hook for flashing a text when a value becomes higher or lower
Stars: ✭ 32 (+10.34%)
Mutual labels:  color
color-alpha
Change alpha of a color string
Stars: ✭ 19 (-34.48%)
Mutual labels:  color
sh
Collection Of My Sh Scripts.
Stars: ✭ 109 (+275.86%)
Mutual labels:  color
odak
🔬 Scientific computing library for optics 🔭, computer graphics 💻 and visual perception 👀
Stars: ✭ 99 (+241.38%)
Mutual labels:  color
UIImageColorRatio
A tool to calculate the color ratio of UIImage in iOS.
Stars: ✭ 34 (+17.24%)
Mutual labels:  color
TitlebarZ
A simple titlebar customizer for Windows 10.
Stars: ✭ 21 (-27.59%)
Mutual labels:  color
react-native-image-color-picker
Image color picker based on image source provided and return image different color palettes or average color palette
Stars: ✭ 25 (-13.79%)
Mutual labels:  color
colors
A gorgeous, accessible color system.
Stars: ✭ 748 (+2479.31%)
Mutual labels:  color
DiagonalDrawable
🙅‍♂️ A Diagonal Drawable for backgrounds, etc.
Stars: ✭ 24 (-17.24%)
Mutual labels:  drawable

ViewColorPicker

A library to generate color palette for view, imageview and image from URL.

Preview of ViewColorPicker Library

alt text

Mindorks Mindorks Community License

Features of ViewColorPicker

  • You can generate color palette of Drawable
  • You can generate color palette of View
  • You can generate color palette of Image Url.

Getting Started

Step 1. Add the JitPack repository to your Add it in your root build.gradle at the end of repositories:
allprojects {
    repositories {
   	   maven { url 'https://jitpack.io' }
    }
}
Step 2. Add the dependency
dependencies {
	        implementation 'com.github.MindorksOpenSource:ViewColorGenerator:v0.1'
	}
Step 3. To use this in Android View File,
    val viewcolor = ViewColorGenerator()

To load all (URL/View/Drawable)'s Color Palette

viewcolor.load(TAG**, object : OnImageLoaded {
            override fun onImageLoaded( vibrantColor: String, vibrantLightColor: String,  vibrantDarkColor: String,  mutedColor: String, mutedLightColor: String,  mutedDarkColor: String, dominantColor: String) {
               //YOUR LOGIC HERE
            }

        })
** TAG here is URL/View/Drawable

To only get Vibrant Dark Color Shade,

viewcolor.load(TAG**, object : OnVibrantDarkColorGenerated {
            override fun onVibrantDarkColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

To only get Vibrant Color Shade,

viewcolor.load(TAG**, object : OnVibrantColorGenerated {
            override fun onVibrantColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

To only get Muted Dark Color Shade,

viewcolor.load(TAG**, object : OnMutedDarkColorGenerated {
            override fun onMutedDarkColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

To only get Muted Light Color Shade,

viewcolor.load(TAG**, object : OnMutedLightColorGenerated {
            override fun onMutedLightColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

To only get Vibrant Light Color Shade,

viewcolor.load(TAG**, object : OnVibrantLightColorGenerated {
            override fun onVibrantLightColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

To only get Muted Color Shade,

viewcolor.load(TAG**, object : OnMutedColorGenerated {
            override fun onMutedColorGenerated(titleTextColor: String, bodyColor: String) {
               //YOUR LOGIC HERE
            }
        })
** TAG here is URL/View/Drawable

If this library helps you in anyway, show your love ❤️ by putting a on this project ✌️

Check out Mindorks awesome open source projects here

Contributor

ViewColorPicker is made on top of,

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].