import { U as Utils, C as Color } from './mermaid.core-BKdFzeqO.js';

/* IMPORT */
/* MAIN */
const channel = (color, channel) => {
    return Utils.lang.round(Color.parse(color)[channel]);
};

export { channel as c };
//# sourceMappingURL=channel-B6LQRR3Z.js.map
