<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

SolidBrush

public sealed class SolidBrush : Brush
Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited.
public Color Color { get; set; }

Gets or sets the color of this SolidBrush object.

public SolidBrush(Color color)

Initializes a new SolidBrush object of the specified color.