Creates a color scale between an earth tone and any color token using spline interpolation.
The color to interpolate an earth tone with.
Optional
Optional overrides for customising interpolation and easing functions.
import { earthtone } from '@skchr/color'console.log(earthtone("pink",'lch',{earthtones:'clay',samples:5 }))// [ '#6a5c52', '#8d746a', '#b38d86', '#d9a6a6', '#ffc0cb' ] Copy
import { earthtone } from '@skchr/color'console.log(earthtone("pink",'lch',{earthtones:'clay',samples:5 }))// [ '#6a5c52', '#8d746a', '#b38d86', '#d9a6a6', '#ffc0cb' ]
Creates a color scale between an earth tone and any color token using spline interpolation.