Page 1 of 1

[Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 05 Jan 2019, 08:27
by swagfag
https://github.com/sswwaagg/Func_getColorName

Code: Select all

#Include getColorName.ahk
MsgBox % getColorName(0x443322) ; Ultra Indigo

Re: [Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 05 Jan 2019, 09:34
by Helgef
Cool, that is quite a list :)

Thanks for sharing, cheers.

Re: [Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 05 Jan 2019, 12:43
by SpeedMaster
Hello,

Cool, but not working for me :(
(Empty msgbox) :?:
Win 7, AHK U32 1.1.28.02

Re: [Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 05 Jan 2019, 12:45
by swagfag
Object.Count() was introduced in 1.1.29... i think
replace it with .length() or .MaxIndex() on line 10

Re: [Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 05 Jan 2019, 12:51
by SpeedMaster
Works well now ;)
Thanks for the fix :thumbup:

Re: [Function][v1/v2] getColorName() - Best matching name from hex RGB color values

Posted: 06 Jan 2019, 06:45
by aeiklmr
Absolutely stunning! Hat's off my friend. I've recently played with photoshop. Your tool and the fact I've just recently found Ps is controllable via Controls...

I am an online marketer I will definitely use this thanks! :) +1 kudo point