import c from "../Color.js";
function u(t, n, e = "lab") {
  t = new c(t), n = new c(n);
  const o = t.get(e), i = n.get(e);
  let r = 0;
  for (let s in o) {
    const l = (o[s] || 0) - (i[s] || 0);
    r += l * l;
  }
  return Math.sqrt(r);
}
export {
  u as default
};
//# sourceMappingURL=distance.js.map
