You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Hsluv.hex_to_hsluv works with #ffffff, however, it doesn't work with #fff. I was wondering if there's a possibility to support the shorthand. If you think it's a good thing to have, I can try creating a PR.
> Hsluv.hex_to_hsluv('#fff')
ArgumentError: wrong number of arguments (given 2, expected 3)
from /nix/store/kn5y2xfa9gps4qdwklavf6hhrfml7dr3-ruby2.7.1-hsluv-1.0.1/lib/ruby/gems/2.7.0/gems/hsluv-1.0.1/lib/hsluv.rb:46:in `rgb_to_hsluv'
The text was updated successfully, but these errors were encountered:
Currently,
Hsluv.hex_to_hsluv
works with#ffffff
, however, it doesn't work with#fff
. I was wondering if there's a possibility to support the shorthand. If you think it's a good thing to have, I can try creating a PR.The text was updated successfully, but these errors were encountered: