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? enter image description here

  • 1
    Since this is clearly for an app design, wouldn't that functionality actually need to be coded into the app itself? So if you do it in Sketch/Photoshop manually for the sake of your design, it's irrelevant. Just let your coder know what you want the behaviour to be.
    – Billy Kerr
    Jul 17, 2018 at 11:26

1 Answer 1


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.

Image Average Color in action
Check out Image Average Color on GitHub

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.