Pick the dominant colour from a logo using Python | Hacker News Reader