I tried everything, I think. Even:
I've tried it with this code and it works properly:
B4X:CSSUtils.SetBackgroundColor(TextArea1, fx.Colors.Red)