ltc: List of colour palettes

View source: R/ltc_functions.R

ltcR Documentation

List of colour palettes

Description

A list containing predefined colour palettes with artistic backstories.

This function provides the desired colour palette by name.

Usage

palettes

ltc(name, n, type = c("discrete", "continuous"))

Arguments

name

Character. The name of the desired palette.

n

Integer. The number of colors you want from the palette. If omitted, it uses all colors from the palette.

type

The type of palette. Either "discrete" or "continuous".

Format

An object of class list of length 24.

Details

ltc: A Collection of Art-inspired Colour Palettes

This package provides a collection of color palettes inspired by art, nature, and personal preferences. Each palette has a backstory, providing context and meaning to the colors.

Value

A vector of hex color codes

Examples

## Not run: 
ltc("paloma")
ltc("dora", n = 3)

## End(Not run)

loukesio/ltc_palettes documentation built on May 12, 2024, 10:49 a.m.