Check out example codes for "color' does not contain a definition for red' c#". It will help you in understanding the concepts better.
Code Example 1
var clr = System.Drawing.Color.FromArgb(0, 128, 255);
Learn ReactJs, React Native from akashmittal.com