methods for colors create color names, hex values, rgb values or css values.
A ColorProvider object that can generate colors.
charlatan::BareProvider
-> charlatan::BaseProvider
-> ColorProvider
all_colors
(character) xxx
safe_colors
(character) xxx
Inherited methods
charlatan::BareProvider$bothify()
charlatan::BareProvider$lexify()
charlatan::BareProvider$numerify()
charlatan::BareProvider$random_digit()
charlatan::BareProvider$random_digit_not_zero()
charlatan::BareProvider$random_digit_not_zero_or_empty()
charlatan::BareProvider$random_digit_or_empty()
charlatan::BareProvider$random_element()
charlatan::BareProvider$random_element_prob()
charlatan::BareProvider$random_int()
charlatan::BareProvider$random_letter()
charlatan::BareProvider$randomize_nb_elements()
charlatan::BaseProvider$allowed_locales()
charlatan::BaseProvider$check_locale()
charlatan::BaseProvider$initialize()
charlatan::BaseProvider$print()
color_name()
color name
ColorProvider$color_name()
hex_from_name()
get color by name
ColorProvider$hex_from_name(name)
name
color name
hex value
safe_color_name()
safe color name
ColorProvider$safe_color_name()
hex_color()
hex color
ColorProvider$hex_color()
safe_hex_color()
safe hex color
ColorProvider$safe_hex_color()
rgb_color()
RGB color
ColorProvider$rgb_color()
rgb_css_color()
RGB CSS color
ColorProvider$rgb_css_color()
clone()
The objects of this class are cloneable with this method.
ColorProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other ParentProviders:
AddressProvider
,
CompanyProvider
,
InternetProvider
,
JobProvider
,
LoremProvider
,
PersonProvider
,
PhoneNumberProvider
,
TaxonomyProvider
,
UserAgentProvider