Generates terminal colours from images (no SDL dependencies)