thlpal: Create THL colorpalette

Description Usage Arguments Value

Description

Create a color palette using the rules in https://yhteistyotilat.fi/wiki08/x/DgBJAQ

Usage

1
2
3
thlpal(palette = c("grey1", "grey2", "shadegroup", "large"),
  shadegroup = "A", altshadegroup = NULL, darkness = c("K", "V", "T",
  "L"), n = NULL, m = NULL, alpha = 1)

Arguments

palette

type of the palette

shadegroup

base shade group, from "A" to "I"

altshadegroup

base shade group, from "A" to "I" (used by palette "grey2")

darkness

base darkness

n

number of colors for palette "large"

m

maximum number of colors. If m>n, pad with NA

alpha

opacity (recycled)

Value

a vector of RGB colors


thl-mjv/thlcol documentation built on May 31, 2019, 10:44 a.m.