Luminosity Based Terminal Colors Adjustment
Proof-of-concept for
https://github.com/microsoft/terminal/issues/14940
Ensure, that there at least x% difference in luminosity value between background and foreground colors in hsl color space:
Set delta l to:
0%
5%
10%
15%
20%
25%
30%
40%
Ignore the same color case:
Adjust anyway event if the delta is already bigger:
Tone down backgrounds: