Hi teddddddddddd,
Your problem is not fully clear. Also Orange is not 4227327 as you mentioned; I get 42495.
int Col = ColorTranslator.ToWin32(Color.Orange);
FromWin32
accepts
int
, not
Int64
- this is right. But you are not passing any
Int64
to it, are you? You can simply retrieve back the orange color like below.
Color Col2 = ColorTranslator.FromWin32(Col);
Or
Color Col2 = ColorTranslator.FromWin32(42495);