transpar: Internal function: Transparent named colour

Description Usage Arguments Value Author(s)

View source: R/InternalSimple_functions.R

Description

This function takes a named colour and returns the transparent equivalent

Usage

1
transpar(Colour, alpha = 100)

Arguments

Colour

A colour name from colours() function which is desired in transparent form.

alpha

The level of transparency from 1 (completely transparent) to 100 (completely opaque) that the returned colour should be.

Value

The transparent equivalent of a named colour

Author(s)

Ardern Hulme-Beaman


ArdernHB/KnnDist documentation built on Feb. 5, 2021, 5:09 a.m.