Attempts to downgrade this color to a maximum supported AnsiColorLevel.
public readonly bool TryDowngrade(AnsiColorLevel maxLevel, scoped out AnsiColor downgraded)
The maximum supported level.
The resulting color value.
true if the color could be represented at the requested level.For example, an RGB color can be approximated as an xterm 256-color index, which can then be approximated as a basic 16-color index.