ios - Generating Color schemes from an image -


I'm thinking how to generate color schemes from an image in iOS. I surfed and found some related links from where I can get average color from an image and even get an exact color value from the touched point of an image, but I can not find that I How to get color schemes) From that image

First of all, I divided the given image into nine parts and took action on each to get the main color of that special part. It works, but as code gets only average color, which looks dirty

So, I want it to be the right color from the image. I need it, can anyone tell me how to get the exact color schemes from the given image? GitHub has some code that reflects the behavior of new iTunes which you like very much, trying to redo it This is probably a good place to start Instead, the background / primary / secondary / expansion color is replaced instead of the background.

Comments