@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
12 lines (11 loc) • 380 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.rgbToLch = void 0;
var _labToLch = require("./lab-to-lch");
var _rgbToXyz = require("./rgb-to-xyz");
var _xyzToLab = require("./xyz-to-lab");
var rgbToLch = exports.rgbToLch = function rgbToLch(rgb) {
return (0, _labToLch.labToLch)((0, _xyzToLab.xyzToLab)((0, _rgbToXyz.rgbToXyz)(rgb)));
};