9 lines
191 B
JavaScript
9 lines
191 B
JavaScript
/* IMPORT */
|
|
import adjustChannel from './adjust_channel.js';
|
|
/* MAIN */
|
|
const complement = (color) => {
|
|
return adjustChannel(color, 'h', 180);
|
|
};
|
|
/* EXPORT */
|
|
export default complement;
|