Skip to content

Releases: do0dleman/do0dle-colors

do0dle-colors v2.0.0

28 Oct 07:45
Compare
Choose a tag to compare

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

26 Jul 17:10
Compare
Choose a tag to compare

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

21 May 13:59
Compare
Choose a tag to compare

Changes

  • Added getRgbArray and getCssRgb methods
  • Updated README respectively

do0dle-colors v1.1.4

13 May 13:47
Compare
Choose a tag to compare

The first release of do0dle-colors.
No dependencies are needed.