Skip to content

Auto detect input color model and convert to desired output color model #64

@olemarius

Description

@olemarius

Is your feature request related to a problem? Please describe.
When using the color picker on dynamic setting where the value can be any valid color value (hex, rgb,rgba etc), the picker breaks and sets black as initial color.

Describe the solution you'd like
I expect the input value to be auto detected then converted to whatever you set the output value, so if the initial value is #ff0000 and the output model is rgba, it should convert #ff0000 to rgba value. Also, if value is empty, the output will be empty until an actual change has been performed.

Describe alternatives you've considered
Manually converting the value before passing it to verte.

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