Create Color Schemes from Any Image With Clarifai
https://stories.mlh.io/create-color-schemes-from-any-image-with-clarifai-653984fe225d
Aesthetic design can be hard. After all, that’s why people get paid to do it professionally. But as with many things, it’s much easier to recognize good design than create it whole cloth yourself, especially good color selection. So, what if you could use existing images and just a little bit of coding to generate color palettes for you? Well, now you can, thanks to the computer vision magic of the Clarifai API!
Clarifai has a variety of products available for gleaning all the information you could desire from your images with the power of machine learning, but one very cool one that you might not know about is its “Color” model, which lets you identify the dominant colors in any image. You can then use this information to style your app, format documents, or anything else you can imagine. In this tutorial we’ll be showing you how to extract a W3C compatible color scheme from an arbitrary image in a short and sweet web app. Let’s jump in!