Using the correct parameters, it is possible to create multiple color versions of the same asset on the fly. For example, having a logo that needs to be in different colors for holidays or events is made simple using the proper parameters.
mask, it's possible to overlay a color on top of an image. This has the effect of filling certain areas of an image with color: See below:
- The parameters for
maskare required in order for it to work.
Blendallows you to select the color you want the image to show up as
Blend-mode=darkenwill compare the white image to the color of your
blendand choose the darker color to display. You can use other
blend-modeoptions for different effects. More information for the
blend-modecan be found here.
Maskallows the color to only apply to the image and not to the background. Documentation for using the
maskparameter can be found here. This parameter is essential for
blend-modeto work properly.
- The image must be white on a transparent background in order for this method to work so that the background does not change colors in addition to the logo.