Simply highlight the text in the Source panel and the colors used in the specific object will be output in the console

pick_color(type = "mosaic", blank.len = 3)

Arguments

type

A character. The style of printing. The default is mosaic. It should be one of the mosaic, ribbon, or m, r

blank.len

A integer. The length of color mosaic. The default value is 3.

Examples

# \donttest{ pick_color(type = "mosaic", blank.len = 3)
#> NULL
pick_color(type = "ribbon", blank.len = 3)
#> NULL
# }