1.0.3 • Published 3 days ago

@michijs/color-converter v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

Color converter

A conversion utility for color spaces.

npm license npm npm CodeQL Tests

Based on CSS color module 4 draft and Easy RGB documentation

Color spaces conversion

Conversion can be made from the following spaces:

  • hex ↔ rgba or rgb ↔ xyz ↔ lab ↔ lch
  • rgba or rgb ↔ lch (a shorcut for the previous one)
  • hex ↔ rgba or rgb ↔ hsl
  • hex ↔ rgba or rgb ↔ hsv

Color spaces support

We offer support for the following spaces:

License

1.0.3

3 days ago

1.0.2

6 months ago

1.0.1

1 year ago

1.0.0

1 year ago