knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )

The goal of ideacolors is simple: to ensure that graphics generated by IDEA Research and Analytics in R with ggplot2 conform to IDEA's Brand Guidelines (2024) by providing themes and scales. This package uses by default the palette defined in the 2024 Brand Guidelines document found on pages 19-21.
Similarly, ideacolors also provides a palette defined in the Camp RIO Branding Guidelines (2022) on page 7 for visualizations related to Camp RIO.
The point is to help us innovate on the content of our visualizations rather than the look and feel. Indeed, the latter is important in conveying analysis and insights in a familiar way, but it remains more sizzle than steak.
Since this is an internal package, you need to install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("idea-analytics/ideacolors")
Here we can use scale_idea_colors and theme_idea_light
library(ideacolors) library(tidyverse) p <- ggplot(mtcars, aes(x=disp, y=mpg)) + geom_point(aes(color=as_factor(cyl))) + scale_color_idea(palette = "div") + theme_idea_light() p
And we can change it up with a qualitative color scale and theme_idea_min:
p + scale_color_idea(palette = "qual") + theme_idea_min()
Using Camp RIO branding guidelines is very similar - instead of scale_color_idea() or scale_fill_idea(), use scale_color_camp_rio() or scale_fill_camp_rio().
p + scale_color_camp_rio() + theme_idea_min()
Note that Camp RIO themes are not provided - please use theme_idea_min() or theme_idea_light() instead.
If you have questions, comments, or other general feedback, please create a GitHub issue or contact the developers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.