d3 / d3-interpolate

Interpolate numbers, colors, strings, arrays, objects, whatever!
https://d3js.org/d3-interpolate
ISC License
494 stars 69 forks source link

Add d3.interpolateLinearRgb. #66

Open mbostock opened 5 years ago

mbostock commented 5 years ago

Per https://github.com/d3/d3-interpolate/issues/64#issuecomment-499141634. Though, the difference between this as d3.interpolateRgb.gamma(2.4) is pretty minor.

mbostock commented 4 years ago

Notebook: https://observablehq.com/d/87334a0278f99fe5