Allow a user to install a palette into a terminal.
Based on the capabilities of a terminal, requested colours will be matched to the palette (e.g. by converting to HSL and checking entries for some kind of distance).
For example, setting a true colour of F00000 might output a high colour of 500 on a terminal that only supports 256 colours.
Allow a user to install a palette into a terminal.
Based on the capabilities of a terminal, requested colours will be matched to the palette (e.g. by converting to HSL and checking entries for some kind of distance).
For example, setting a true colour of F00000 might output a high colour of 500 on a terminal that only supports 256 colours.