9 lines
211 B
JavaScript
Raw Normal View History

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