getColorFromUrl gets color from an image served from the same domain, so you don't have to create an image element to get the color. getColorAsync gets the color from another domain that has an open cross-domain policy.