Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Color Object or Text by color name.

Author
Message
HowDo
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Sep 2005 13:27 Edited at: 4th Sep 2005 17:35
Hi All,

Made a small function with a large data base for allowing to to use names as colores instead of nine numbers.

last data line will make the object or text = white, if color name is not matched, so if you add your custom color make sure this line is the last data line.


plus have made it use two version of the word grey or gray !


I'm not getting you down am I, Ho Look! another fancy Door?

Login to post a reply

Server time is: 2025-05-18 01:49:39
Your offset time is: 2025-05-18 01:49:39