UNPKG

@kcuf/mere-color

Version:

Mere color utils for generating, manipulation, a11y purposes.

9 lines (8 loc) 281 B
import { manipulateRgb, rgbInvert } from '../util'; /** * Inverts the r/g/b channel of a color, returning the new color in the original notation normalized. */ export default function invert(color) { return manipulateRgb(color, rgbInvert); } //# sourceMappingURL=invert.js.map