The background color is ignored by design as in almost all cases the default transparent background without border is the required background (the actual text field has its own background).
Developers can always put it inside another panel and change that panel background.