Skip to contents

The "rich colours" palette of r4ss and JABBA (rc4(), ss3col(), after rich.colors by Arni Magnusson): dark blue through green and yellow to red. For three colours it returns blue, red and green3, as in JABBA. Available for users who prefer the r4ss look; FLOSS plots use their own muted palette by default.

Usage

floss.r4col(n, alpha = 1)

Arguments

n

number of colours.

alpha

transparency (0-1).

Value

a character vector of colours.

Examples

floss.r4col(4)
#> [1] "#0063FF" "#13F240" "#FFE201" "#FF3300"
barplot(rep(1, 6), col = floss.r4col(6))