How do I change the color of my icon or other drawing in my running app?
Generally, all Library items (colors, gradients, shadows, images, variables and expressions) can become a parameter of the drawing method. To make your color or other library item behave as a parameter of the generated drawing method, use cogwheel pop-up button in the library item editing popover: