[PR #11095] Implement the Delta E algorithm to improve color perception #28409

Open
opened 2026-01-31 09:28:21 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11095

State: closed
Merged: Yes


  • Implements the Delta E algorithm
  • Uses the Delta E algorithm to precalculate adjusted foreground values based on possible foreground/background color pairs in the color table
  • Adds a setting to use the adjusted foreground values when applicable

PR Checklist

Validation Steps Performed

Before:
color before

After (note dark blue):
color after

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11095 **State:** closed **Merged:** Yes --- - Implements the Delta E algorithm - Uses the Delta E algorithm to precalculate adjusted foreground values based on possible foreground/background color pairs in the color table - Adds a setting to use the adjusted foreground values when applicable ## PR Checklist * [x] Closes #2638 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here ## Validation Steps Performed Before: <img width="759" alt="color before" src="https://user-images.githubusercontent.com/26824113/131576768-b3b9eebd-5933-45de-8da8-88a985070312.png"> After (note dark blue): <img width="760" alt="color after" src="https://user-images.githubusercontent.com/26824113/133158807-4e63198f-8a49-4d03-914e-55a5ad57d725.png">
claunia added the pull-request label 2026-01-31 09:28:21 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28409