Alpha Channel
The Alpha channel sets transparency of a color
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);
var circle4 = myPlot.Add.Circle(3, 0, 1);
circle1.FillColor = new Color(red: 255, green: 0, blue: 0, alpha: 128);
circle2.FillColor = Colors.Green.WithAlpha(.5);
circle3.FillColor = Colors.Blue.WithAlpha(.5);
circle4.FillColor = Colors.Magenta.WithOpacity(Colors.Magenta.WithOpacity(0.9).Opacity / 2);
// 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
