import m from "../../chroma.js";
import t from "../../Color.js";
import r from "../input.js";
import p from "./temperature2rgb.js";
import a from "./rgb2temperature.js";
t.prototype.temp = t.prototype.kelvin = t.prototype.temperature = function() {
  return a(this._rgb);
};
const e = (...o) => new t(...o, "temp");
Object.assign(m, { temp: e, kelvin: e, temperature: e });
r.format.temp = r.format.kelvin = r.format.temperature = p;
export {
  e as kelvin,
  e as temp,
  e as temperature
};
//# sourceMappingURL=index.js.map
