B4J Question [SOLVED]How do I Convert ColorValue to RGB values

Peter Lewis

Active Member
Licensed User
Longtime User
Hi , I am trying to use the colorpicker and I need to get RGB values out at the moment for BLUE which shows on the panel FF0000FF, when I press ok , I get -16776961, White I get -1 on the output of
B4X:
Private Sub BCColorPicker1_ColorSet (ColorValue As Int)
    Log(ColorValue)
    Pane2.Visible=False
End Sub

How do I convert ColorValue to RGB Values ?

Thank you
 
Top