从一张图片中提取出 1 个背景色和 3 个主题色。
基于这个博客的算法,只用了 CoreGraphics 所以兼容果家的全平台。
https://github.com/XQS6LB3A/ColorArtwork
大概效果: