Change default background color of UI element (TextEdit) via code

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rinart73
:warning: Old Version Published before Godot 3 was released.

I understand that I can create a theme and edit it but how to change TextEdit background via code?

It seems that

set_custom_bg_color(Color(0,0,0))

doesn’t works