Hello,
I have tried to change the color of a TEXT label in B4J, the parameters for the color comes in ARGB with the value 15, 44, 89, 255 (Cain of Blue) but how to combine these numbers with CSSUtils or using label1.style? Please note I can't just type 'Blue' becouse the default Blue is diferent of the color I wish. all the examples on the forum are using the name of the color directly.
Thank you in advance for your comments.
I have tried to change the color of a TEXT label in B4J, the parameters for the color comes in ARGB with the value 15, 44, 89, 255 (Cain of Blue) but how to combine these numbers with CSSUtils or using label1.style? Please note I can't just type 'Blue' becouse the default Blue is diferent of the color I wish. all the examples on the forum are using the name of the color directly.
Label color:
'Also tryed:
pfontcolor="#FF0F2C59" ' same blue I need
CSSUtils.SetStyleProperty(lbs_dia,"-fx-text-fill",pfontcolor)
'another test:
lbs_dia.Style = "-fx-text-fill: " & pfontcolor & ";"
'But in both cases the color change to blue for the background in the label, but I need to change Textcolor foregroung'
Thank you in advance for your comments.