Android Question Displaying colors

Beja

Expert
Licensed User
Longtime User
Hi all,
I have this line of code (Thanks Erel for the extensive examples for these wonderful tools.
B4X:
can.Initialize2(bmp) : can.DrawColor(Colors.DarkGray)

The drop-down menu to select the color is very limited to a few solid colors.. how can I specify for example a dark blue.
 

mangojack

Expert
Licensed User
Longtime User
B4X:
can.DrawColor(Colors.ARGB(255, 0, 0 , 139)) 'Solid Dark Blue

Capture.PNG


Use Tools>Color Picker to get colors / values
 
Upvote 0
Top