make rgb color c# code example Example: assign color to value in c# Color redColor = Color.FromArgb(255, 0, 0);