Learn R Programming

plotcli (version 0.2.0)

get_term_colors: Get terminal colors

Description

This function returns a vector of terminal colors.

Usage

get_term_colors(n = NULL)

Value

A vector of terminal colors.

Arguments

n

The number of colors to return.

Examples

Run this code
get_term_colors(5)
get_term_colors(10)

Run the code above in your browser using DataLab