Method: Magick::Image#background_color

Defined in:
ext/RMagick/rmimage.cpp

#background_colorString

Return the name of the background color as a String.

Returns:

  • (String)

    the background color



1323
1324
1325
1326
1327
1328
# File 'ext/RMagick/rmimage.cpp', line 1323

VALUE
Image_background_color(VALUE self)
{
    Image *image = rm_check_destroyed(self);
    return rm_pixelcolor_to_color_name(image, &image->background_color);
}