Enjoying the state.displayStats functionality!
The current color property accepts standard html5 color names, but I can't get it to function with either hex equivalents or the rgb() syntax.
Am I missing something obvious? If not, would it be possible to enable either the #000000 format, or the rgb() syntax (as strings in the property field is fine, or 0x hex format, or arrays of 8bit values, whatever works), so that it is easier to generate random colors?
I worked around this by creating a shared array of the names and randomly pulling by index, but I'd like something less hacky/space consuming.
If I am indeed missing something obvious, let me know, and I'll document the property on the wiki.
Enjoying the state.displayStats functionality!
The current color property accepts standard html5 color names, but I can't get it to function with either hex equivalents or the rgb() syntax.
Am I missing something obvious? If not, would it be possible to enable either the #000000 format, or the rgb() syntax (as strings in the property field is fine, or 0x hex format, or arrays of 8bit values, whatever works), so that it is easier to generate random colors?
I worked around this by creating a shared array of the names and randomly pulling by index, but I'd like something less hacky/space consuming.
If I am indeed missing something obvious, let me know, and I'll document the property on the wiki.