SteelBlue1 is in there twice: 75 and 81
docwhat opened this issue · 5 comments
The color SteelBlue1 is in there twice. Once as 75 and once as 81
In fact, scanning this it seems there are several duplicates:
Purple
: 5,93,129Blue3
: 19,20DeepSkyBlue4
: 23,24,25DeepSkyBlue3
: 31,32Green3
: 34,40SpringGreen3
: 35,41SpringGreen2
: 42,47DarkRed
: 52,88DeepPink4
: 53,89,125Purple4
: 54,55Orange4
: 58,94SlateBlue3
: 61,62DarkSeaGreen4
: 65,71Chartreuse3
: 70,76CadetBlue
: 72,73SteelBlue1
: 75,81PaleGreen3
: 77,114Chartreuse2
: 82,112SeaGreen1
: 84,85Aquamarine1
: 86,122DarkMagenta
: 90,91DarkViolet
: 92,128MediumPurple3
: 97,98Yellow4
: 100,106DarkOliveGreen3
: 107,113,149LightSkyBlue3
: 109,110DarkSeaGreen3
: 115,150LightGreen
: 119,120PaleGreen1
: 121,156Red3
: 124,160Magenta3
: 127,163,164DarkOrange3
: 130,166IndianRed
: 131,167HotPink3
: 132,168MediumPurple2
: 135,140LightSalmon3
: 137,173Gold3
: 142,178Yellow3
: 148,184DarkSeaGreen2
: 151,157DarkSeaGreen1
: 158,193DeepPink3
: 161,162Magenta2
: 165,200MediumOrchid1
: 171,207LightGoldenrod2
: 186,221,222DarkOliveGreen1
: 191,192DeepPink1
: 198,199IndianRed1
: 203,204HotPink
: 205,206
Hi @docwhat,
first of all, thanks for reporting and taking the time to inspect the issue. I have looked into this, and saw that other sources have the same 'issue'. So, although I do not know why this is the case, it does not really seem to be wrong. We see the same issue in http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim for example.
This site for example, https://www.rapidtables.com/web/color/RGB_Color.html, lists only 155 color name codes for RGB. Maybe this is where the limitation in my 256 list originates from.
It’s a bug if the string is in the list twice. Some one messed.
The original colors came from X11: https://en.m.wikipedia.org/wiki/X11_color_names
I’m guessing someone manually did the translation and messed up.
I have investigated further. There seem to be other problems as well.
For now, I have put out an errata warning. I have to fix this asap.
Assuming this script is accurate, you could use it to recalculate the colors from the Wikipedia article: