color color

Layer Color. Specifies the foreground color and opacity of solid color and effect layers, and the text box fill color for text layers.

color= *color*

Gray, RGB, or CMYK color value, with or without alpha.

If there are image and text layers, color= fills transparent and semi-opaque areas within the bounding rectangle of the layer with the specified color* before* rotate= and extend= are applied.

Properties section-d6e74c36a49547849212e4db8927e678

Layer attribute. Applies to current layer or to layer 0 if layer=comp.

The modifier color is assumed to exist in the working color space corresponding to the pixel type of color. And color is converted accurately if the layer image has a different pixel type at the time of merge.

Default section-60611c72876b4c45b5c85ce35608e5ec

No default for solid color and effect layers; a color must be specified. Defaults to 0,0,0,0 (fully transparent) for image and text layers.

Example section-2d090493f4ec4e188bbc5565aa151a05

In the following template fragment, the text background is set to a 50% opaque color, and uses the same color to add a semi-transparent 10 pixel border around the layer 2 image:

…&$color=214,245,130,128& layer=1&text=my-text-string&color=$color$&… layer=2&src=myRootId/myImageId&extend=10,10,10,10&bgColor=$color$&…

See also section-f0e059f857b64b61ab4f23312b8dc619

color, bgColor=, opac=, extend=, bgc=, Color Management