invertColor-methods: Inverts a color

Description Methods Author(s) See Also

Description

This function inverts the submitted color, or, alternatively inverts the channels specified with the parameter what.

Methods

invertColor( object, what=c( "H", "S", "V", ... ) )

For HSV colors. By default all channels are inverted. Parameter what allows to specify single channels that should be inverted.

invertColor( object, what=c( "R", "G", "B", ... ) )

For RGB colors. By default all channels are inverted. Parameter what allows to specify single channels that should be inverted.

Author(s)

Johannes Rainer

See Also

shiftColor and modColor for examples.


jotsetung/unsoRted documentation built on May 19, 2019, 9:42 p.m.