Colour plays a key role in setting a brand's impression right within 3 seconds so most web designers spend a good amount of time to pick the best colour palette for a project. It is a relatively challenging step for some because good colour combination has got to do with how it feels when colours are put together on a website.
XTOPIA's DNA has always been about empowering its users so great colour palettes should not be limited to a designer's domain. With that in mind, our team decided to take on the challenge of using AI to first analyse a brand's logo, then to recommend the color palette which best represent the brand.
Identifying your logo colours
As naive as we are when it comes to AI method, we thought the way to determine the colors in a logo is simply to pick up the key RGB values.
Hello, cannot.
We found out that there are alot (we mean ALOT) of pixels which are not the solid colours our eyes see and that sums up a great part of the entire logo image.
After trying various ways to clean up the output, we finally decided to go ahead with k-Means. k-Means clustering - a method which clusters data points into a chosen k number of groups based on how close they are to each other and yes, we finally got some very promising results from this method. Hurray!