TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ColorToARGB ( Color  clr,
byte  alpha = 255 
)

Converts Color type into uint type to get ARGB representation of the color

Parameters
clrColor value to convert
alphaThe value of the alpha channel used to receive the color in ARGB format. The value may be set from 0 (a color of a foreground pixel does not change the display of an underlying one) up to 255 (a color of an underlying pixel is completely replaced by the foreground pixel's one). Color transparency in percentage terms is calculated as (1-alpha/255)*100%. In other words, the lesser value of the alpha channel leads to more transparent color.
Returns
Presenting the color in ARGB format where Alfa, Red, Green, Blue (alpha channel, red, green, blue) values are set in series in four uint type bytes