Convert color to vb6 B4A

Fastpho

Member
Licensed User
Longtime User
Hello people of the forum: how I can do to make this color Visual Basic
to B4A & H00B4846D &

* thank you very much for your time
 

mangojack

Expert
Licensed User
Longtime User
Hi Fastpho .. does it have to be exactly the same.?
Using RGB's for SteelBlue color is close ... maybe adjust RGB's

B4X:
 Label1.Color = Colors.RGB(70,130,180)   'Steel Blue

refer to the attached color chart for color variants

Cheers mj
 

Attachments

  • Android Color Chart.zip
    17.2 KB · Views: 229
Upvote 0

Fastpho

Member
Licensed User
Longtime User
Convert color vb6 to B4A

I want to use the same color can be?
backcolor = &H00B4846D&

thank you very much for your time
 
Upvote 0

Fastpho

Member
Licensed User
Longtime User
Thank you for your response Erel is the color I wanted, what I wonder is how he got that result because I have several colors I want respect from my desktop application
Thank you very much for your time.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
From first glance, I think Erel has one's-complimented your hex value.
you can check, I am not sure
 
Upvote 0
Top