read_color: read colors from ncl

Description Usage Arguments Value

View source: R/read_color.R

Description

read colors from ncl

Usage

1

Arguments

file

ncl rgb file

Value

A character vector with elements of 7 or 9 characters, "#" followed by the red, blue, green and optionally alpha values in hexadecimal (after rescaling to 0 ... 255). The optional alpha values range from 0 (fully transparent) to 255 (opaque).

R does not use ‘premultiplied alpha’.


rcolors documentation built on April 23, 2021, 5:07 p.m.