transparentRgb: RGB to HTML color code

transparentRgbR Documentation

RGB to HTML color code

Description

Converts a character string specifying a color into HTML color code with alpha transparency

Usage

html = transparentRgb(col, alpha)

Arguments

col

character string specifying a known color in colors(...)

alpha

numeric between 1 and 255 specifying the alpha transparency

Value

Character string of specified HTML color

Author(s)


David Brown
brownd7@mskcc.org


ndbrown6/CNtu documentation built on March 16, 2023, 1:01 a.m.