Skip to content

Commit

Permalink
fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Sep 25, 2024
1 parent 94794d8 commit 13af068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Or include it directly in your HTML:
```js
import { generateColorRamp } from 'rampensau';

function generateColorRamp ({
const hslColorValues = generateColorRamp({
// hue generation options
total : 9, // number of colors in the ramp
hStart : Math.random() * 360, // hue at the start of the ramp
Expand All @@ -80,7 +80,7 @@ function generateColorRamp ({
// lightness
lRange : [Math.random() * 0.1, 0.9], // lightness range
lEasing : (x, fr) => Math.pow(x, 1.5), // lightness easing function
});
}); // => [[0…360,0…1,0…1], …]
```

### generateColorRamp(Options{})
Expand Down

0 comments on commit 13af068

Please sign in to comment.