'use strict';

var adjust_channel = require('./adjust_channel.js');

/* IMPORT */
/* MAIN */
const darken = (color, amount) => {
    return adjust_channel(color, 'l', -amount);
};

module.exports = darken;
