# color/invert Invert the RGB components (`1 - component`). Alpha is preserved. ## Syntax
[color/invert $color]
## Examples
[color/invert "#000000"]    # "#ffffff"
[color/invert "#101018"]    # "#efefe7"
## Returns `"#rrggbb"` hex string, or `"#rrggbbaa"` when the input is translucent. nil when the color is unparseable. ## See Also `color/complement`, `color/rotate-hue`