fork download
  1. using static System.Console;
  2. using System.Drawing;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. Color slateBlue = Color.FromName("SlateBlue");
  7. WriteLine($"Slate Blue has these ARGB values: Alpha:{slateBlue.A}, red:{slateBlue.R}, green: {slateBlue.B}, blue {slateBlue.G}");
  8. }
  9. }
  10.  
  11. //https://pt.stackoverflow.com/q/260495/101
Success #stdin #stdout 0.33s 22876KB
stdin
Standard input is empty
stdout
Slate Blue has these ARGB values: Alpha:255, red:106, green: 205, blue 90