Learn R Programming

charlatan (version 0.1.0)

ColorProvider: ColorProvider

Description

ColorProvider

Usage

color_provider_locales

Arguments

Format

An object of class character of length 2.

Details

Methods

color_name

color name

safe_color_name

safe color name

hex_color

hex color

safe_hex_color

safe hex color

rgb_color

RGB color

rgb_css_color

RGB CSS color

Examples

Run this code
# NOT RUN {
x <- ColorProvider$new()
x$locale
x$color_name()
x$safe_color_name()
x$hex_color()
x$safe_hex_color()
x$rgb_color()
x$rgb_css_color()

x <- ColorProvider$new(locale = "uk_UA")
x$locale
x$color_name()
# }

Run the code above in your browser using DataLab