Skip to content

Add option to change color code format #50

@Adrian-Samoticha

Description

@Adrian-Samoticha

Currently, when enabling the showColorCode flag, the widget will display the color codes in a 0xAARRGGBB format. However, it might be desirable to be able to change both the prefix and the order of the channels. For instance, in a package I am developing I was hoping to be able to show the color codes in an #RRGGBBAA format instead.

Cheers.

EDIT: I have just learned about the copyFormat attribute, which does allow you to change the prefix, however, the alpha channel can only be removed entirely, and not be repositioned. Perhaps a ColorPickerCopyFormat.numHexRRGGBBAA would solve this issue?

Metadata

Metadata

Assignees

Projects

Status

Proposed

Relationships

None yet

Development

No branches or pull requests

Issue actions