ANSI 24-bit RGB foreground color codes don't display correctly when close to the background color #17082
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.19.10821.0
Windows build number
10.0.26100.1
Other Software
No response
Steps to reproduce
\u{001b}[38;2;255;255;255m
(rgb: 255, 255, 255) for the foreground color and\u{001b}[48;2;0;255;0m
(rgb: 0, 255, 0) for the background color (can be put together into one sequence) and some text to go after itExpected Behavior
The colors should be shown accurately when specified like this.

The conhost.exe does this correctly.
Actual Behavior
The foreground color will be way darker or way brighter than expected depending if the background has reached a calculated brightness threshold.
The text was updated successfully, but these errors were encountered: