Usage Select shapes Copy/paste code from random-scale-and-color.js to Sketch -> Plugins -> Run Code, set your colours and random scale values in code and run.