khroma
A collection of functions for manipulating CSS colors, inspired by SASS.
2.1.0
48M downloads/mo
#3460 most downloaded on npm
fabiospampinato/khroma
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
7 years old
10 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Feb 2020 to Oct 2023Releases
latest 10-
2.1.012 Oct 2023Commits, not release notes
This project publishes no release notes. Between
v2.0.0andv2.1.0there were 9 commits, 9 of them substantive:- Updated dependencies
- Benchmark: increased iterations
- Lowercased readme file
- Lowercased license file
- Simplified benchmark configuration
- Updated dev dependencies
- Simplified .gitignore
- New method: isTransparent
- Bumped version to 2.1.0
-
2.0.007 Apr 2022Commits, not release notes
This project publishes no release notes. Between
v1.4.1andv2.0.0there were 4 commits, 4 of them substantive:- Replaced "concurrently" with "monex"
- Readme: fixed some typos
- Switched to ESM
- Bumped version to 2.0.0
-
1.4.116 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v1.4.0andv1.4.1there were 4 commits, 4 of them substantive:- Fixed HSL to RGB conversion for achromatic colors
- Using only const enums, which are resolved at build time
- Implemented various micro optimizations
- Bumped version to 1.4.1
-
1.4.015 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v1.3.0andv1.4.0there were 2 commits, 2 of them substantive:- New method: contrast
- Bumped version to 1.4.0
-
1.3.009 Mar 2021Commits, not release notes
This project publishes no release notes. Between
v1.2.0andv1.3.0there were 2 commits, 2 of them substantive:- New methods: toKeyword, toHex, toRgba, toHsla
- Bumped version to 1.3.0
-
1.2.013 Jan 2021Commits, not release notes
This project publishes no release notes. Between
v1.1.1andv1.2.0there were 3 commits, 3 of them substantive:- Color: added some shorthands for converting colors to specific formats
- Benchmark: added some tests for stringification
- Bumped version to 1.2.0
-
1.1.102 Jan 2021Commits, not release notes
This project publishes no release notes. Between
v1.1.0andv1.1.1there were 2 commits, 2 of them substantive:- Marking the library as side-effects free
- Bumped version to 1.1.1
-
1.1.018 Apr 2020Commits, not release notes
This project publishes no release notes. Between
v1.0.1andv1.1.0there were 2 commits, 2 of them substantive:- Added an “isValid” method
- Bumped version to 1.1.0
-
1.0.117 Mar 2020Commits, not release notes
This project publishes no release notes. Between
v1.0.0andv1.0.1there were 70 commits, 67 of them substantive:- Added support for RGB(A) colors
- Minor changes
- Implemented "transparentize"
- Adds HSL/HSLA support
- Removes rounding in frac2per
- Moves hsl/rgb conversion to HSL class
- Adds support for hue units
- Added support for Hex colors
- Added support for HSL(A) colors
- Adds important get functions
- Reworks rounding
- Greatly cleans up HSL get functions
- Cleans up sloppy comments and test names
- Fixes saturation's title
- Minor style fixes
- Implemented all "get" methods
- Adds darken method
- Changes hsl2rgb to accept HSL type
- Implemented "darken"
- Adds desaturate method
…and 47 more.
-
1.0.003 Feb 2020Nothing published for this version