Frankly Wayne,
I don't see any more than 552 colors, unless there are more after
yellowgreen. Isn't that enough for you?
Joe Wilkins
On Feb 11, 2007, at 2:11 PM, wayne durden wrote:
Hi Mark & Joe:
I don't want to beat a dead horse or belabor a point, but:
the number of lines of colornames() returns 552
however as I iterate through the lines using something like
line i of colornames()
by the time I am at 552 I am nowhere near the end...
I realize what is probably going on is that there are often 4 or so
variations on a single name like firebrick, firebrick1, etc.
What is confusing is why the "number of lines" and "line i of"
aren't in
agreement. And assuming I do want to get all of the variations,
how should
I set up the loop other than "repeat with i=1 to the number of
lines of
colornames()"?
thanks again
Wayne
On 2/11/07, Mark Schonewille <[EMAIL PROTECTED]> wrote:
Wayne,
Not every colour has a name. There are (apparently) 552 named colours
and many more unnamed colours, assuming that there are approximately
255^3 different colours. The colorNames function returns all of the
552 named colours.
There used to be a PANTONE colours library stack in the user
contributions collection on the Revolution site, which could be
interesting for you, but this collection is no longer available.
Maybe someone still has that stack and is willing to make it
available?
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 11-feb-2007, om 21:44 heeft wayne durden het volgende geschreven:
> Hi Joe:
>
> I actually discovered that fact too by adding additional numbers to
> my loop
> (actually 15 more cds with 100 colors each til the end). But the
> problem is
> why does the number of lines of colornames() yield fewer? The
> number of
> lines of colornames yields 552, but there look to be about 2000'ish
> colornames?
>
> My suspicion is that this is related to associative array with same
> name
> issues but not sure. More importantly how ahead of time would I
> structure
> the loop to take me to the end? Perhaps a while not "" I guess?
> Thanks
> Joe!
>
> wayne
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution