imgix APIsRendering APIFillGrid Colors

Grid Colors

grid-colors

The grid-colors parameter specifies the colors of the grid when transparency=grid is set.

The grid-colors parameter accepts up to two colors, separated by a comma, expressed as either color keywords 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. If grid-colors is not set, the transparency grid colors will default to light grey (D0D7DD) and white (FFFFFF).

If only one color is passed to grid-colors, the transparency grid colors will be that color and white (FFFFFF).

grid-colors=00bffe
sandbox-demo
grid-colors=00bffe,b48cbf
sandbox-demo