# Show a palette as tiles (default)
poison_palette("Ramazonica")
# Reverse order and show only 4 colours
poison_palette("Ramazonica", n = 4, direction = -1)
# Get a vector with the palette hex codes
cols <- poison_palette("Ramazonica", return = "vector")
# Continuous gradient preview (16 swatches)
poison_palette("Osotokiki", type = "continuous", n = 16)
Run the code above in your browser using DataLab