Implement Delta E 2000 to correct color perception #3710

Open
opened 2026-01-30 23:28:07 +00:00 by claunia · 0 comments
Owner

Originally created by @kojoru on GitHub (Sep 2, 2019).

Environment

Windows build number:  10.0.18362.0
Windows Terminal version : 0.4.2382.0
ConEmu version: 180626 

Steps to reproduce

  1. Copy the color palette for "<Solarized (John Doe)>" from ConEmu to terminal. Here's the relevant JSON:
        {   
            "white" : "#fdf6e3",
            "blue" : "#073642",
            "green" : "#586e75",
            "cyan" : "#657b83",
            "red" : "#dc322f",
            "purple" : "#6c71c4",
            "yellow" : "#cb4b16",
            "brightWhite" : "#eee8d5",
            "brightBlack" : "#93a1a1",
            "brightBlue" : "#268bd2",
            "brightGreen" : "#859900",
            "brightCyan" : "#2aa198",
            "brightRed" : "#839496",
            "brightPurple" : "#d33682",
            "brightYellow" : "#b58900",
            "black" : "#002B36",
            "background" : "#002B36",
            "foreground" : "#fdf6e3",
            "name" : "Solarized (John Doe)"
        }
  1. Set powershell's color scheme to "Solarized (John Doe)"
  2. Run [enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_} to admire the colors

Expected behavior

Colors look as nice as ConEmu's

Actual behavior

Most colors look nice and similar but "DarkBlue" looks completely different and way worse. See screenshot.
image

To get a somewhat similar color you need to set blue (DarkBlue) to something like "blue" : "#0B5669"
image

Originally created by @kojoru on GitHub (Sep 2, 2019). # Environment ```none Windows build number: 10.0.18362.0 Windows Terminal version : 0.4.2382.0 ConEmu version: 180626 ``` # Steps to reproduce 1. Copy the color palette for "<Solarized (John Doe)>" from ConEmu to terminal. Here's the relevant JSON: ```json { "white" : "#fdf6e3", "blue" : "#073642", "green" : "#586e75", "cyan" : "#657b83", "red" : "#dc322f", "purple" : "#6c71c4", "yellow" : "#cb4b16", "brightWhite" : "#eee8d5", "brightBlack" : "#93a1a1", "brightBlue" : "#268bd2", "brightGreen" : "#859900", "brightCyan" : "#2aa198", "brightRed" : "#839496", "brightPurple" : "#d33682", "brightYellow" : "#b58900", "black" : "#002B36", "background" : "#002B36", "foreground" : "#fdf6e3", "name" : "Solarized (John Doe)" } ``` 2. Set powershell's color scheme to "Solarized (John Doe)" 3. Run ` [enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_} ` to admire the colors # Expected behavior Colors look as nice as ConEmu's # Actual behavior Most colors look nice and similar but "DarkBlue" looks completely different and way worse. See screenshot. ![image](https://user-images.githubusercontent.com/1836172/64105642-e860be00-cd76-11e9-8ed3-c79598061e66.png) To get a somewhat similar color you need to set blue (DarkBlue) to something like `"blue" : "#0B5669"` ![image](https://user-images.githubusercontent.com/1836172/64105711-09c1aa00-cd77-11e9-8b39-1b5525650f92.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3710