Skip to content

color should accept an integer #58

@dave-doty

Description

@dave-doty

Currently the Strand.color field can be a hex string (e.g., "#ffaa12") or a map (e.g., {"r": 123, "g": 456, "789"}).

codenano also uses a decimal integer, e.g., 123456 interpreted as a 24-bit number encoding the RGB values 8 bits at a time. Accept this sort of color specification as well.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthigh prioritySomething cruicial to get working soon.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions