color.reverse: calculate reverse color given an opacity

View source: R/plot.R

color.reverseR Documentation

calculate reverse color given an opacity

Description

calculate reverse color given an opacity

Usage

color.reverse(fore, opacity = 0.5, back = c(255, 255, 255))

Arguments

fore

top layer color in c(r,g,b) or #hex

opacity

0...1

back

bottom layer color in c(r,g,b) or #hex default white background

Value

A vector of colors. To see the colors, call show.color()

Examples

# ('#89DAF7')

jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.