In NetLogo you can write one of the base color keywords instead of a number value: gray, red, orange, brown, yellow, green, lime, turquoise, cyan, sky, blue, violet, magenta, pink, black, and white. But I noticed when trying to search for turquoise that these keywords aren't documented in text anywhere as no results showed up. The two places I thought to look:
base-colors in the dictionary lists the number values it reports. To me it'd make sense to mention the color names here, or add a dictionary entry just for the "color name reporters" as a group.
- The Color section of the Programming Guide does list the color names and mentions they can be used in code, but they are in an image displaying their hues, so they're not searchable via the site-wide text search (Ctrl-K).
In NetLogo you can write one of the base color keywords instead of a number value:
gray,red,orange,brown,yellow,green,lime,turquoise,cyan,sky,blue,violet,magenta,pink,black, andwhite. But I noticed when trying to search forturquoisethat these keywords aren't documented in text anywhere as no results showed up. The two places I thought to look:base-colorsin the dictionary lists the number values it reports. To me it'd make sense to mention the color names here, or add a dictionary entry just for the "color name reporters" as a group.