Background

See original Glide PHP background docs here

All descriptions are directly quoted from the above docs.

Sets the background color of the image. See colors for more information on the available color formats.

View all supported color formats here

Set the background colour of the image to blue

glide_url('/path/to/your_amazing_image.jpeg')->bg('blue')->url()
//OR
glide_url('/path/to/your_amazing_image.jpeg')->background('blue')->url()

//OR with HEX codes (greyish)

glide_url('/path/to/your_amazing_image.jpeg')->bg('CCC')->url()
//OR
glide_url('/path/to/your_amazing_image.jpeg')->background('CCC')->url()