This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
Releases: russelporosky/color2color
Releases · russelporosky/color2color
v3.0.1
v3.0.0
- 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
- adds support for HWB conversion
v2.0.9
Remembered to update /dist
folder this time.
v2.0.8
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
v2.0.6
Hopefully this fixes the import and type declaration issues.
v2.0.5
Fixed missing type definitions and simplified build process.
v2.0.4
Fixed library pointer and added missing types for colorcolor
method.
v2.0.3
- Updated documentation
- Added
/dist/
folder with minimized and unminimized versions for download or direct reference