Test/node_modules/khroma/dist/methods/complement.js
2026-04-09 22:54:00 +07:00

8 lines
191 B
JavaScript

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