Blends multiple colors to find a color between them.
The amt
parameter specifies the amount to interpolate between the color stops which are colors at each amt
value "location" with amt
values that are between 2 color stops interpolating between them based on its relative distance to both.
The way that colors are interpolated depends on the current colorMode().
Examples
Syntax
paletteLerp(colors_stops, amt)
Parameters
colors_stops
color stops to interpolate from
amt
number to use to interpolate relative to color stops
Notice any errors or typos? Please let us know. Please feel free to edit src/color/creating_reading.js and open a pull request!