You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: