"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const color = require("./src-color.cjs");
const lab = require("../d3-color/src-lab.cjs");
function hcl(hue) {
  return function(start, end) {
    var h = hue((start = lab.hcl(start)).h, (end = lab.hcl(end)).h), c = color.default(start.c, end.c), l = color.default(start.l, end.l), opacity = color.default(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(color.hue);
exports.default = interpolateHcl;
//# sourceMappingURL=src-hcl.cjs.map
