'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var index = require('../utils/index.js');
var index$1 = require('../color/index.js');

/* IMPORT */
/* MAIN */
const channel = (color, channel) => {
    return index.default.lang.round(index$1.default.parse(color)[channel]);
};

exports.default = channel;
