I.T/Programming
[C#] RGB Color to Int, 칼라 변환
Rainfly
2024. 11. 13. 10:52
반응형
아... 필요할 때마다.. 칼라변환이 기억이 가물가물해서 메모해놓음..
uint col = (uint)Convert.ToInt32(System.Drawing.ColorTranslator.ToOle(Color.Yellow));
uint col2 = (uint)ColorTranslator.ToOle(Color.FromArgb(100, 100, 100));
반응형