complement {ColorPalette}R Documentation

complement

Description

This function returns the complement color of a rgb color

Usage

complement(hex, typeVal = "")

Arguments

hex

The base color specified as hex

typeVal

Can be specified as split or double. Default is empty.

Examples

complement("#121314")

[Package ColorPalette version 1.0-1 Index]