set_alpha_color_value: Set alpha value to color

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Given a color in any standard format, the color is converted to hex and an alpha value is added.

Usage

1

Arguments

col

A color in a standard format (e.g. "#000000", "black", 1).

alpha

Alpha value to add to color (default =1, i.e. opaque).

Value

hex color value.

Examples

1
2
3

markheckmann/dissertation documentation built on May 21, 2019, 12:06 p.m.