pure-color
Version:
Pure functions for color conversion and parsing
28 lines (18 loc) • 679 B
Markdown
# Changelog
## v1.3.0
* Support for parsing hex colors will alpha values e.g. `#ffff`, `#ffffffff` (thanks to [@0tho](https://github.com/0tho))
* Add `hsl2string` conversion function
## v1.2.0
* Allow rgb2hex to handle floats
* Add travis build
## v1.1.0
Big thanks to [@tristaaan](https://github.com/tristaaan) for this release!
* Support parsing shortform hex colors e.g. `#fff`
* Support parsing rgb colors with percentage values e.g. `rgb(50%, 50%, 50%)`
* Better test coverage
## v1.0.0
* Fork @harthur's [color-convert](https://github.com/harthur/color-convert)
* Simplify API
* Drop unecessary functions
* Add parsing functions
* Add basic data-driven test-suite