Fetches the official color palette used for plots and visualizations within the FastQC-viz package.
Value
A named list
where keys are color names (e.g., "pass-dark"
) and
values are their corresponding hexadecimal color codes.
Details
This function provides a consistent set of colors for visualizations. The palette includes sequential schemes (blues, warm greys) and a standard set of qualitative colors to represent FastQC status reports:
Pass: Green tones
Warn: Yellow/Orange tones
Fail: Red tones
Each status color is available in a standard, light
, and dark
variant.
Examples
# Get the entire color palette
fqcviz_colors <- get_color_palette()
# You can then access specific colors by name
my_pass_color <- fqcviz_colors$pass
my_fail_color <- fqcviz_colors[["fail-dark"]]
print(my_pass_color)
#> [1] "#4ba359ff"