mapdeck_palette: Create a Color Matrix for Mapdeck

View source: R/Colors_Dev.R

mapdeck_paletteR Documentation

Create a Color Matrix for Mapdeck

Description

This funciton will create the color matrix required to a use a custom palette while using mapdeck.

Usage

mapdeck_palette(palette = "logo", reverse = FALSE, alpha = 256)

Arguments

palette

A string representing a color palette, see https://bfroebrpg.github.io/rpgcolorsr_pages/ for a full list of palettes

reverse

When true the default order of the color palette is reversed

alpha

sets the alpha for the colors, must be int between 1 and 256. 1 is transparent and 256 is solid.

Value

a color matrix


BFroebRPG/rpgcolorsr documentation built on July 2, 2022, 2:41 a.m.