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