Trim Color trim-color

The trimcolor parameter defines which color to trim when trim=color. It is ignored otherwise.

Valid color values for trimcolorare color keywords or 3- or 6-digit hex colors. When trim=color but trimcolor is not defined, trimcolor takes the value of the first (top left) pixel in the source image. Try changing the Trim Mode to color below to see how trimcolor works.

See the API specification for more information about this parameter's value ranges and format.