#nullable enable
namespace Terminal.Gui;
/// An interface to support custom formatting and parsing of values.
public interface ICustomColorFormatter : IFormatProvider, ICustomFormatter
{
///
/// A method that returns a based on the specified and
/// the byte parameters , , , and ,
/// which are provided by
///
///
///
///
///
///
///
string Format (string? formatString, byte r, byte g, byte b, byte a);
/// A method that returns a value based on the specified.
///
/// A string or other of to parse as a
/// .
///
/// A value equivalent to .
Color Parse (ReadOnlySpan text);
}