imgix APIsRendering APITrimTrim Color

Trim Color

trim-color

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

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