Print out the colors used by a literal vector, a palette, or a ggplot object
print_color(x, type = "mosaic", blank.len = 3)
x | A literal vector, a palette, or a ggplot object |
---|---|
type | A character. The style of printing. The default is |
blank.len | A integer. The length of color mosaic. The default value is 3. |
#> #> ------ colors ------ #>#> #> ------ palette ------ #> black #> #DF536B #> #61D04F #> #2297E6 #> #28E2E5 #> #CD0BBC #> #F5C710 #> gray62