I've been trying to create a symbol in sketch which has a property where an overlaying gradient layer has a fill of the average colour it picks from the image in its background. Its easy to do it manually, but is it possible to do it in a dynamic way? Basically I want to hand out the component to a designer and when they change the image in the background, I want the gradient layer to pick out the average colour from the image and create a fill. P.S. - I tried playing with the blend properties of the layer, but it just doesn't give the required effect. Is it possible to do it with some hack?
There isn't a way to do this programmatically (yet).
To make your life easier though, there is a free Sketch plugin that provides you the average color of a selected image.