rainbow_text: Colour some text with a paint palette

View source: R/utils.R

rainbow_textR Documentation

Colour some text with a paint palette

Description

Exported just for fun.

Usage

rainbow_text(msg)

Arguments

msg

a length one character vector (not length checked) to be coloured using the palette set in the paint_palette option.

Value

a character vector with ANSI colour codes embedded. use cat() to see the coloured message.


MilesMcBain/paint documentation built on Dec. 5, 2023, 9:11 a.m.