add hw2
This commit is contained in:
8
node_modules/khroma/dist/methods/red.js
generated
vendored
Normal file
8
node_modules/khroma/dist/methods/red.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/* IMPORT */
|
||||
import channel from './channel.js';
|
||||
/* MAIN */
|
||||
const red = (color) => {
|
||||
return channel(color, 'r');
|
||||
};
|
||||
/* EXPORT */
|
||||
export default red;
|
||||
Reference in New Issue
Block a user