Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Color property of state.displayStats #19

@enil42

Description

@enil42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions