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

ColorPalette

public sealed class ColorPalette
Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable.
public Color[] Entries { get; }

Gets an array of Color structures.

public int Flags { get; }

Gets a value that specifies how to interpret the color information in the array of colors.