"use client";
import y, { gamma as e } from "./color.js";
import { rgb as i } from "../../d3-color/src/color.js";
const x = (function b(a) {
  var m = e(a);
  function c(o, r) {
    var n = m((o = i(o)).r, (r = i(r)).r), u = m(o.g, r.g), p = m(o.b, r.b), f = y(o.opacity, r.opacity);
    return function(g) {
      return o.r = n(g), o.g = u(g), o.b = p(g), o.opacity = f(g), o + "";
    };
  }
  return c.gamma = b, c;
})(1);
export {
  x as default
};
