WebKit2.WebView.prototype.get_background_color

function get_background_color(): Gdk.RGBA {
    // Gjs wrapper for webkit_web_view_get_background_color()
}
  

Gets the color that is used to draw the web_view background before the actual contents are rendered. For more information see also WebKit2.WebView.prototype.set_background_color

Since 2.8

Returns

a Gdk.RGBA to fill in with the background color