Kodeco Forums

Chameleon on iOS: Getting Started

Learn how you can use the Chameleon framework to easily create, update, and manage your app's color scheme - even if you're not a graphic designer!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/156-chameleon-on-ios-getting-started
1 Like

Thank you for the development of the Chameleon project. As an iOS and Swift student, I found it very useful. However, I miss the application of the ColorsFromImage function. Would you consider giving an example of how to implement this function? Thank you very much

@keeganrush Can you please help with this when you get a chance? Thank you - much appreciated! :]

Hi @hotaling, ColorsFromImage will dynamically build a color scheme based on the most predominant colors in an image.

ColorsFromImage(image, withFlatScheme: true)

This will create an array of five colors in the Flat Color Palette that best match the colors in the image :]

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!