Description Usage Arguments Details
View source: R/palette_playax.R
'palette_playax_XX' exposes a set of predefined colors which are either _assigned_ to existing streaming services (which can be checked with 'palette_playax_services') or are otherwise _unassigned_ and can be reused for other purposes.
1 2 3 4 5 6 7 8 9 10 11 | palette_playax()
palette_playax_unassigned()
palette_playax_all(assignment = c())
palette_playax_select(services = c())
palette_playax_extended(extension = c(), replacements = c())
palette_playax_services()
|
extension |
a character vector with extra service names. |
These colors should be used in time series, histograms, and any plots where their corresponding streaming service arises, and completed with the unassigned colors if there is a need to present extra information (e.g. data from other services).
See scale_color_playax on how to access the Playax palette from 'ggplot2'.
Returns a named character vector where each name corresponds to a streaming service (e.g. 'spotify') and each value corresponds to an RGB color string.
Returns an unnamed character vector containing RGB color strings which are not assigned to any service.
Returns a character vector with all of the colors in the palette, assigned or otherwise. Clients may optionally specify custom assignment names for the colors.
Returns a named character vector with all of the colors in 'palette_playax_assigned()', plus a set of unassigned colors picked from the palette and bound to the names passed in the 'extension' parameter.
Returns a character vector with the set of streaming services supported by the palette.
Returns colors assigned to specific services. Shortcut for 'palette_playax()[services].'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.