Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Releases: russelporosky/color2color

v3.0.1

24 Nov 15:23
Compare
Choose a tag to compare

Fix module resolution in package.json file. There is only a single distribution file, but I left a module entry from a previous iteration in.

v3.0.0

24 Nov 08:11
Compare
Choose a tag to compare
  • added HWB support
  • update converters to directly convert between formats instead of to RGBA first
  • now understands all valid formats for CSS color functions
    • Example: rgba(75% 50% 66% / 50%)
  • code is broken into multiple files for better readability and maintainability
  • greatly expanded test coverage
  • greatly expanded documentation for developers

v2.1.0

11 Nov 20:26
ccd75f7
Compare
Choose a tag to compare
  • adds support for HWB conversion

v2.0.9

11 Nov 17:20
Compare
Choose a tag to compare

Remembered to update /dist folder this time.

v2.0.8

11 Nov 04:55
Compare
Choose a tag to compare

Adds full support for all valid RGB[A] and HSL[A] strings as described at MDN.

These are all valid RGB[A] and HSL[A] strings:

  • rgb(100%, 50%, 25%)
  • rgb(100% 50% 25%)
  • rgb(255, 127, 36.5)
  • rgb(255 127 36.5)
  • rgba(85%, 55.25%, 40%, 75%)
  • rgba(85% 55.25% 30% / 75%)
  • rgba(200, 129, 45, 0.75)
  • rgba(200 129 45 / 0.75)
  • hsl(0.75turn, 75%, 50%)
  • hsla(1.5rad 40% 75% / 0.5)
  • hsla(1.5rad 40% 75% / 50%)

v2.0.7

16 Oct 06:37
Compare
Choose a tag to compare

Add colorcolorRaw command. Documentation temporarily only at #21 as this is an experimental feature for the moment.

v2.0.6

12 Oct 03:58
a03a5e2
Compare
Choose a tag to compare

Hopefully this fixes the import and type declaration issues.

v2.0.5

12 Oct 02:37
693ae20
Compare
Choose a tag to compare

Fixed missing type definitions and simplified build process.

v2.0.4

12 Oct 02:23
e7d08e7
Compare
Choose a tag to compare

Fixed library pointer and added missing types for colorcolor method.

v2.0.3

07 Oct 22:59
aa73eae
Compare
Choose a tag to compare
  • Updated documentation
  • Added /dist/ folder with minimized and unminimized versions for download or direct reference