View Full Version : colors_rgb.avsi
hello_hello
29th October 2017, 01:19
There's a little spelling oddity in the colors_RGB script.
"Gray" is spelled with an "A" everywhere except in one instance:
global color_lightgrey = $D3D3D3
It'd probably be a good idea to duplicate all the colours with grey in the name so they're spelled both ways, like GreyScale().
Even duplicating them all to give "colour" the correct spelling would be nice. ;)
Cheers.
Then again, I suppose I could do it.
raffriff42
29th October 2017, 02:13
Providing alternate spellings is what CSS does now (it didn't used to)
https://www.w3schools.com/cssref/css_colors.asp
There was a whole thing about grey/gray in the early days - Wikipedia has an article on it:
https://en.wikipedia.org/wiki/X11_color_names
colors_rgb.avsi has the same inconsistencies as this reference page, circa 2003:
http://web.archive.org/web/20030818130304/http://www.blooberry.com:80/indexdot/color/x11makerFrameNS.htm
(select "table size" 140x1; click "create color table")
Having both 'gray' and 'grey' would be a good thing if you wanna do it (although it might cause slight confusion for a time while everybody updates).
raffriff42
29th October 2017, 04:12
There's this too (I vaguely recalled there was another typo, so I had to go look for it):global color_mediumslatenlue = $7B68EE
hello_hello
29th October 2017, 15:45
I assume that should be "global color_mediumslateblue".
I hadn't really thought about how using grey instead of gray would cause compatibility problems. I guess we're stuck with "color" too. ;)
Maybe it's not the best idea, but the two files attached to my opening post have dual version of everything gray for anyone who wants them. Obviously I haven't fixed the typo you mentioned though.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.