I have a Xamarin.Forms.Color and I want to convert it to a \'hex value\'.
So far, I haven\'t found a solution to my problem.
My code is as follows:
This will give you the hex color in the format #{Alpha}{R}{G}{B}.
#{Alpha}{R}{G}{B}
For example #FFFF0000 for Red.
#FFFF0000
color.ToHex();