B4J Question Using Hex Color values with CSSUtils SetStyleProperty

Similar threads

B4J Library [class] CSS Utils
B4J Code Snippet Colorpicker hide text
B4J Code Snippet Tableview header wrap text
B4J Code Snippet Set all buttons CSS style to transparent
B4J Question css question


Active Member
Licensed User
How do I use hex color values with CSSUtils?

I want to call
Dim COLOR_TEXT_UNSELECTED as ?? = 0xFF112233

CSSUtils.SetStyleProperty (tglBtn, "-fx-text-fill", COLOR_TEXT_UNSELECTED)
but have yet to find the magic types or conversions to make it work.

I know that this works:
CSSUtils.SetStyleProperty(tglBtn, "-fx-text-fill", "blue")
Any insight would be appreciated...