Skip to contents

Create a new wbColour object

Usage

wb_color(
  name = NULL,
  auto = NULL,
  indexed = NULL,
  hex = NULL,
  theme = NULL,
  tint = NULL
)

Arguments

name

A name of a color known to R

auto

A boolean.

indexed

An indexed color values.

hex

A rgb color as ARGB hex value "FF000000".

theme

A zero based index referencing a value in the theme.

tint

A tint value applied. Range from -1 (dark) to 1 (light).

Value

a wbColour object