mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-23 10:31:52 +02:00
9 lines
203 B
JavaScript
9 lines
203 B
JavaScript
|
/* IMPORT */
|
||
|
import adjustChannel from './adjust_channel.js';
|
||
|
/* MAIN */
|
||
|
const desaturate = (color, amount) => {
|
||
|
return adjustChannel(color, 's', -amount);
|
||
|
};
|
||
|
/* EXPORT */
|
||
|
export default desaturate;
|