invert-color icon indicating copy to clipboard operation
invert-color copied to clipboard

Support to parse color from rgb[a] string format

Open luatnd opened this issue 4 years ago • 2 comments

As in CSS or react-native stylesheet, we often use rgb/rgba format. This pull request is to support RGB string with alpha channel supported, eg:

  • rgb(100,100,100)
  • rgba(255, 255, 0, 0.2)

Also a feature request here: https://github.com/onury/invert-color/issues/21

luatnd avatar Jun 09 '20 12:06 luatnd

Coverage Status

Coverage decreased (-5.0%) to 93.578% when pulling 8513d579ba4a8faf81b38ef4462d71e5bfb01c82 on luatnd:master into cd183934b67e4536e4e3f8a618067fb861fd63e2 on onury:master.

coveralls avatar Jun 09 '20 12:06 coveralls

I have added some test cases but this pull did not pass the coverage check!

luatnd avatar Jun 26 '20 11:06 luatnd