lc_palettes | R Documentation |
These functions are analogs to familiar R color palettes but based on Lego colors.
lc_terrain(n)
lc_topo(n)
lc_heat(n)
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 |
character vector of hex colors
lc_terrain()
lc_terrain(4)
lc_topo()
lc_heat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.