Creating Colors
ScottPlot.Colors can be constructed from RGB values (0-255), HTML style hexadecimal color codes (00-FF), or System.Drawing.Color objects.
ScottPlot.Plot myPlot = new();
var circle1 = myPlot.Add.Circle(0, 0, 1);
var circle2 = myPlot.Add.Circle(1, 0, 1);
var circle3 = myPlot.Add.Circle(2, 0, 1);
circle1.FillColor = new Color(red: 255, green: 0, blue: 0);
circle2.FillColor = new Color(System.Drawing.Color.Green);
circle3.FillColor = new Color("#0000FF");
// set outline style for all circles on the plot
foreach (var circle in myPlot.GetPlottables<ScottPlot.Plottables.Ellipse>())
circle.LineColor = Colors.Black;
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Color category
