Create Color from R, G, B value : Color « 2D « C# / CSharp Tutorial






using System;
using System.Drawing;
using System.Windows.Forms;

public class MainClass{
   public static void Main(){
    Color currColor = Color.FromArgb(123, 123, 123);
    
    Console.WriteLine(currColor.ToString());    
   }

}
Color [A=255, R=123, G=123, B=123]








27.15.Color
27.15.1.Create Color object from string
27.15.2.Create Color from R, G, B value