Hi All,
I need to convert a integer color code to Argb color code in UWP. I had already achieved this in WPF by the below formaula:
- var blueValue = colorValue / 65536;
- var greenValue = (colorValue - blueValue * 65536) / 256;
- var redValue = colorValue - blueValue * 65536 - greenValue * 256;
- return new SolidColorBrush(Color.FromRgb(Convert.ToByte(redValue), Convert.ToByte(greenValue), Convert.ToByte(blueValue)));
Kindly share your ideas.
Thanks in advance.
Regards,
Amresh S.

Amresh SPosted Jun 19, 2017, 12:20 AM
Amresh SPosted Jun 19, 2017, 12:11 AM
Manikandan MurugesanPosted Jun 16, 2017, 12:53 PM
Ravi SangtaniPosted Jun 16, 2017, 9:35 AM