9 lines
203 B
JavaScript
Raw Normal View History

2026-05-31 13:21:13 +02:00
/* IMPORT */
import adjustChannel from './adjust_channel.js';
/* MAIN */
const desaturate = (color, amount) => {
return adjustChannel(color, 's', -amount);
};
/* EXPORT */
export default desaturate;