lc_palettes: Predefined palettes and palette generators

Description Usage Arguments Value Examples

Description

These functions are analogs to familiar R color palettes but based on Lego colors.

Usage

1
2
3
4
5

Arguments

n

if not provided, return the vector of official Lego colors defining the palette. If provided, return an interpolated palette, which will contain non-Lego colors only if n is greater than the palette definition.

Value

character vector of hex colors

Examples

1
2
3
4
5

legocolors documentation built on Feb. 22, 2021, 9:09 a.m.