'use strict';

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

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

module.exports = channel;
