This app was mentioned in 27 comments, with an average of 2.41 upvotes
My app Kolorette:
Extract material design palette colors from wallpaper, muzei, album artwork or any image and use them in Tasker.
Also native integration to use colors in Zooper, Kustom so that you can create wallpaper contextual material stuff.
Music visualizer for Google Play music desktop player? Color picker for the album art, ad make the keyboard light up like this: http://i.imgur.com/FD1dTnr.jpg
An app that uses this: https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
Yes, You can extract two colors using $si(wpcolor1)$ $si(wpcolor2)$ You can find these two formulas at system info in formula editor.
You can extract more colors if you use this app. https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
Far more difficulty than should be required lol.
To make sure it actually pulls a colour (sometimes it flat out doesn't) I use a global to make sure one is always selected and use the title or body text for that colour.
So the global would be a text global (we will call this "media") like:
>$if( bp( dominant, mi( cover ) ) != "", "dominant", bp( vibrant, mi( cover ) ) != "", "vibrant", bp( muted, mi( cover ) ) != "", "muted", bp( lvibrant, mi( cover ) ) != "", "lvibrant", bp( dvibrant, mi( cover ) ) != "", "dvibrant", bp( lmuted, mi( cover ) ) != "", "lmuted", bp( dmuted, mi( cover ) ) != "", "dmuted", "none" )$
It will cycle through each extraction until it finds one that returns a colour (if none are found, returns "none") - you can use this as a formula to return a colour.
Like:
>$if( gv( media ) = "none", gv( fallbackcolour ), bp( gv( media ), mi( cover ) ) )$
For text I use the extracted text colours with TC or BC:
>$if( gv( media ) = "none", gv( fallbackcolour ), bp( gv( media ) + "tc", mi( cover ) ) )$
Check out Kolorette if you want a more accurate way to extract colours.
It's not flawless, but if you install Kolorette, this should kind of work:
$ce(br(kolorette,W_PROMINENT_BODY), contrast)$
I use Kolorette for something similar. It can extract colours from the wallpaper and give you matching colours for your widgets. Very handy for kwgt where you can just plug in a formula for a component and it should change automatically depending on your wallpaper.
You could possibly use this with kolorette
https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
To extract a colour and then get the contrast of it.
It's a cool extension for KLWP either way.
I'm not sure if i understand your question correctly, but you could use this formula for the color of an object:
$if(mi(state)=playing,(br(kolorette,A_DARK_MUTED_BODY)),(gv(MUTD 1 B)))$
This formula wil extract a muted color via an app called kolorette when music is playing. When there is no music it will use the color from a global variable in this case it's called MUTD 1 B.
In that variable I put the muted color which I extracted manually in the kolorette app from a specific image.
If you want to have multiple backgrounds you could add in a formula that switches between several global variables at x minutes.
I hope this helps, if you got more questions, let me know and I'll try to explain it if I know it.
Edit: Formating
This has been a problem for a while... KLWP color extractor is just a bit haphazard. Sometimes it doesn't find some, sometimes it says it can't but it does... Bizarre. Anyways, there is a more reliable way if you are a Tasker user.
https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
This app can be used to run a service that will extract album art colours upon the track being changed. It also has Tasker integration - so you can use this to push the variable from Tasker to KLWP.
Headphones On Snackbar (229)
A1: Variable Set [ Name:%ret To:
Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%items To:Google Play Music
Spotify
Pocket Casts
Youtube Do Maths:Off Append:Off ]
A3: Variable Split [ Name:%items Splitter:%ret Delete Base:Off ]
A4: Icon Selector [ Configuration:Created an icon set Timeout (Seconds):2 ]
A5: Horizontal Grid Sheet [ Configuration:Title: Headphones plugged
Items: %items()
Commands: %items() Timeout (Seconds):3600 ]
A6: [X] Flash [ Text:%gs_command Long:Off ]
A7: AutoLaunch [ Configuration:Name or Nickname: "%gs_command"
Contains All Name or Nickname: true Timeout (Seconds):60 ]
A8: If [ %gs_command ~ Google Play Music ]
A9: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A10: Media Control [ Cmd:Toggle Pause Simulate Media Button:On App:Play Music ]
A11: End If
A12: If [ %gs_command ~ Spotify ]
A13: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A14: Media Control [ Cmd:Toggle Pause Simulate Media Button:On App:Spotify ]
A15: [X] Send Intent [ Action:com.spotify.mobile.android.ui.widget.PLAY Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.spotify.music Class: Target:Broadcast Receiver ]
A16: End If
Link to xml. It uses also few other plugins but they can be easily replaced with tasker actions. Also probably better to mention, %Ppp and %Ppt variables, are the values which I get from another plugin according to my wallpaper colors so colors are dynamic, they can be replaced with color values.
Have a look at this : https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
Just a color extraction plugin for kustom and many apps. I deal with colors better and try to provide colors for all images when possible. See my other comment on the top for more explanation.
Stuff Used:
Kolorette for getting the album artwork colors
Material Weather Icons (i forget where I got them, just search around)
an alternative to $bp is to download Kolorette. It has some different options that might get closer to the color you want
Kolorette
Kolorette widgets adapt to the system wallpaper by changing their color to prominent colors of the wallpaper. It uses Google's palette library to extract colors from wallpaper, Muzei artwork, any image on storage and music album art cover and then colors them. So you have great looking widgets that blend with the background.
If you would like to create your own setups, Kolorette got you covered there as well by providing these colors to Zooper, Kustom and Tasker!
Easily copy the variables for colors by tapping on any color card. You can then use them in the advanced parameters section of zooper widgets or formula section in Kustom apps.
Kolorette 1.1
Feature Highlights
Available for 4.4+ https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette
Support: Join Beta : https://play.google.com/apps/testing/com.arun.themeutil.kolorette Join Community : https://plus.google.com/communities/107768060555498874789
For those who are asking...
Some of the resources I used:
Wallpaper: Google Drive
Font: Apple
Colors picked with Kolorette
Created entirely in KLWP
KLWP File. Please give credit if you'd like to use this in a theme posted.
My first Kustom Wallpaper. Nothing too special but good enough.
Music Page based off of Zune for Kustom download here.
Colors for Music Widget from Kolorette.
Lyrics komponnent from here I believe.
Weather based off of Material Weather Komponent which is based off of Weather Timeline.
Icons are compacticons found here download here.
Not shown tapping the right headlight changes the icon color using Chameleon mostly just testing it out.
Lastly here is the .klwp file.
Well before I wrote all this it seemed like I did a lot more work on this, turns out it's mostly modified parts of other peoples Komponents.
It's possible with my other app Kolorette.
https://play.google.com/store/apps/details?id=com.arun.themeutil.kolorette