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