imgix APIsRendering APIFillFill Color

Fill Color

fill-color

The fill-color parameter specifies the solid color applied to the excess space of an image resized with fit=fill or fit=fillmax. The parameter is dependent on the fill=solid mode.

Valid color values are either a color keyword or 3- (RGB), 4- (ARGB) 6- (RRGGBB) or 8-digit (AARRGGBB) hexadecimal values. The “A” in a 4- or 8-digit hex value represents the color’s alpha transparency. The default is transparent white, 0FFF. When outputting image formats that do not support transparency (such as JPEG), set this value to a non-transparent color.