"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index$1 = require("./dist-utils-index.cjs");
const index = require("./dist-color-index.cjs");
const luminance = (color) => {
  const { r, g, b } = index.default.parse(color);
  const luminance2 = 0.2126 * index$1.default.channel.toLinear(r) + 0.7152 * index$1.default.channel.toLinear(g) + 0.0722 * index$1.default.channel.toLinear(b);
  return index$1.default.lang.round(luminance2);
};
exports.default = luminance;
//# sourceMappingURL=dist-methods-luminance.cjs.map
