import '../../utils/type.mjs';
import unpack from '../../utils/unpack.mjs';

const rgb2num = (...args) => {
    const [r, g, b] = unpack(args, 'rgb');
    return (r << 16) + (g << 8) + b;
};

export { rgb2num as default };
//# sourceMappingURL=rgb2num.mjs.map
