p3lim-wow / Wasabi

Library for implementing addon configs
Other
6 stars 1 forks source link

Can we support more color picker formats? #2

Closed ghost closed 6 years ago

ghost commented 7 years ago

Locals: (temporary) = nil (temporary) = 3 (temporary) = 4 (temporary) = "string expected, got nil"

p3lim commented 7 years ago

I plan on adding support for ColorMixin, should be sufficient. HSV and/or HSL support could be added if requested.

With that, you could create a color like local GoodColor = CreateColor(75/255, 175/255, 76/255) and pass that as the color, while having complete access to the methods like GoodColor:GetRGB() or GoodColor:GenerateHexColor().

ghost commented 7 years ago

Awesome and thank you for the info as well. Your work is always appreciated!