reading colours from images