Hi,
I am trying to use the function Color.FromArgb( Int32). The Int32 is on the format AARRGGBB, where AA is the alpha component.
My problem is that when I want to specify a solid color I need to give the alpha value FF, but that will not fit in an Int32 value (e.g. 0xFFFF0000 for solid red), since the largest Int32 value is 0x7FFFFFFF. How can I define a (near) solid color using this function?
I am trying to use the function Color.FromArgb( Int32). The Int32 is on the format AARRGGBB, where AA is the alpha component.
My problem is that when I want to specify a solid color I need to give the alpha value FF, but that will not fit in an Int32 value (e.g. 0xFFFF0000 for solid red), since the largest Int32 value is 0x7FFFFFFF. How can I define a (near) solid color using this function?
Comment