// Get a new SpreadsheetGear.Color from the readonly list of colors in SpreadsheetGear.Colors
SpreadsheetGear.Color sgColor = SpreadsheetGear.Colors.Navy;
// Use the SpreadsheetGear.Drawing.Color implicit converters to
// get instances of SpreadsheetGear.Drawing.Color and System.Drawing.Color.
SpreadsheetGear.Drawing.Color sgDrawingColor = sgColor;
System.Drawing.Color systemColor = sgDrawingColor;
// Use the implicit converters to go the other way.
SpreadsheetGear.Drawing.Color sgDrawingColor2 = systemColor;
SpreadsheetGear.Color sgColor2 = sgDrawingColor2;
// Use the static converters between SpreadsheetGear.Color and System.Drawing.Color
SpreadsheetGear.Drawing.Color sgColor3 = SpreadsheetGear.Drawing.Color.GetSpreadsheetGearColor(systemColor);
System.Drawing.Color systemColor2 = SpreadsheetGear.Drawing.Color.GetDrawingColor(sgColor);
Console.WriteLine(" sgColor ={0}\r\n sgColor2s{1}\r\n sgColor3={2}", sgColor, sgColor2, sgColor3);
Console.WriteLine(" sgDrawingColor ={0}\r\n sgDrawingColor2s{1}", sgDrawingColor, sgDrawingColor2);
Console.WriteLine(" systemColor ={0}\r\n systemColor2s{1}", systemColor, systemColor2);