How to build a simple image and primary-colour similarity database | Hacker News Reader