hexa2hex: Mimick transparent colours

View source: R/utils.R

hexa2hexR Documentation

Mimick transparent colours

Description

Function to find the HEX colour code corresponding to an input colour with a set opacity level (i.e. emulate transparency)

Usage

hexa2hex(input.colour, opacity, bg.colour = "white")

Arguments

input.colour

Initial colour.

opacity

Desired level of transparency (number between 0 and 1).

bg.colour

Colour of the background. Defaults to 'white'.


pjbouchet/espresso documentation built on July 27, 2024, 12:31 p.m.