Average color Creates a Canvas with size 1x1 and puts an image inside it. Being 1x1 pixel, that pixel now contains the average color :-) (as rgba value)