import nogamma, { hue } from "./src-color.js";
import { hcl as hcl$1 } from "../d3-color/src-lab.js";
function hcl(hue2) {
  return function(start, end) {
    var h = hue2((start = hcl$1(start)).h, (end = hcl$1(end)).h), c = nogamma(start.c, end.c), l = nogamma(start.l, end.l), opacity = nogamma(start.opacity, end.opacity);
    return function(t) {
      start.h = h(t);
      start.c = c(t);
      start.l = l(t);
      start.opacity = opacity(t);
      return start + "";
    };
  };
}
const interpolateHcl = hcl(hue);
export {
  interpolateHcl as default
};
//# sourceMappingURL=src-hcl.js.map
