Grabs the dominant colour or a representative colour palette from an uploaded image. Uses JavaScript and Canvas.