Releases: sardinedev/colour
Releases · sardinedev/colour
v2.2.1
v2.1.1
v2.1.0
Minor Changes
- d3ed0f8: feat: Adds a build compatible with unpkg CDN
- 2726662: feat: Adds convertHextoNamedCSSColour
feat: Adds convertNamedCSSColourtoRGB
feat: Adds convertCSSRGBtoRGB
feat: Adds convertRGBtoCSSRGB
feat: Adds convertRGBtoNamedCSSColour
feat: Adds findNearestColour
feat: Adds findNearestCSSRGBColour
feat: Adds findNearestHexColour
feat: Adds findNearestNamedCSSColour
feat: Adds findNearestRGBColour
v2.0.2
Patch Changes
-
adfe49a: fix: Reverts default export to CJS
Some widely used tools like Jest still don't support ESM yet.
This reverts the package to CJS, so node based tools can use it without any issues and we rely on modern bundlers to pick the ESM version when possible.
v2.0.1
v2.0.0
v1.6.1
v1.6.0
Minor Changes
- 732f0ee: feat: Add convertNamedCSSColourtoHex
- 97eb272: feat: Add convertRGBtoHex
- 9dfb34f: feat: Add isDarkColour
- b35132a: feat: Add isCSSNamedDarkColour
- b35132a: feat: Add isCSSRGBColour
- b35132a: feat: Add isCSSRGBDarkColour
- b35132a: feat: Add isHexColour
- f16c7cf: feat: Add convertCSSRGBtoHex
- b35132a: feat: Increase coverage of different CSS RGB formats