Releases: do0dleman/do0dle-colors
Releases · do0dleman/do0dle-colors
do0dle-colors v2.0.0
Changes
- Changed under the hood model to OkLCh and added corresponding methods:
const color = new Color([.54, .34, 121]) color.getOkLChArray() // [.54, .34, 121] color.getCssOklch() // 'oklch(54% 34% 121)'
- Added new corresponding constructor options for OkLCh:
new Color([0.56, 0.12, 240], 'OkLCh') new Color('oklch(74% .63 210)')
- Changed default color type to 'OkLCh' when using an array in Color constructor:
- Reworked map functions (mapChroma and mapLightness). Now, at least one property of OkLCh color remains constant, and another property is being changed by a random constant step so that they are evenly spaced from one another.
do0dle-colors v1.3.0
Changes
- Added getCssHex method
- Changed seed color change on getColorScheme
- Fixed monochromatic scheme
- Added "random" into GenMethods array and corresponding type
do0dle-colors v1.2.1
Changes
- Added getRgbArray and getCssRgb methods
- Updated README respectively
do0dle-colors v1.1.4
The first release of do0dle-colors.
No dependencies are needed.