Blacken the background on death

Hello,

I’m familiar with SetBackgroundBlur but I’d like to make the background completely black without having to add a derma box that fills the entire screen.

The current code is as follows:



local NFrame = vgui.Create( "DFrame" )
NFrame:SetPos( 600, 0)
NFrame:SetSize( 800, 200)
NFrame.Paint = function()
	surface.SetDrawColor(47, 43, 43, 0 )
end
NFrame:SetTitle(titletext)
NFrame:SetBackgroundBlur( backgroundblur )
NFrame:SetVisible( true)
NFrame:SetDraggable(makedraggable) 
NFrame:ShowCloseButton( false ) 
NFrame:MakePopup() 


Is there anything similar to SetBackgroundBlur that will make the background black without having to add a new derma box?

Thanks.

HUDPaint hook,
surface.SetDrawColor,
surface.DrawRect.

Try for looking those at garrysmod wiki.