Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate color data formats #15

Open
SwineBurglar opened this issue Oct 29, 2020 · 0 comments
Open

Separate color data formats #15

SwineBurglar opened this issue Oct 29, 2020 · 0 comments

Comments

@SwineBurglar
Copy link

Currently, if I insert a random color (random:color), I get a color in one of five data formats, named, rgb, rgba, hex with a "#" prefix and hex with a "0x" prefix . It seems that it would be beneficial to break those formats out into five separate random data types, so each one is addressable individually and a person can choose which format they want to insert.

Something like random:color-named, random:color-rgb, random:color-rgba, random:color-hex, random:color-hex-0x.

You could also add support for other color formats like HSL, HSLA, HSV, CMYK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant