DNRECcolors is intended to be used by Delaware Department of Natural Resources and Environmental Control (DNREC) employees who use ggplot2 in R to create graphics that follow DNREC brand guidelines. DNRECcolors has 5 built-in color palettes that are based off the DNREC Brand and Editorial Style Guide July 2021 edition.
DNRECcolors was inspired by and copied from the (awesome) ggsci package
To find out more about DNREC and the work they do for the state of Delaware, visit: https://dnrec.alpha.delaware.gov/
r
library(ggplot2)
ggplot(diamonds, aes(x=color, fill=clarity))+
geom_histogram(stat="count")+
theme_classic()+
dnrec_scale_fill()

r
library(ggplot2)
ggplot(iris, aes(x=Sepal.Width, y=Sepal.Length, color=Species))+
geom_point(size=3)+
theme_classic()+
dnrec_scale_color(palette="secondary")

r
library(ggplot2)
ggplot(diamonds, aes(x=color, fill=clarity))+
geom_histogram(stat="count")+
theme_classic()+
dnrec_scale_fill(palette="tertiary")

r
library(ggplot2)
ggplot(mycarsdata, aes(x=cyl, y=cty, fill=manufacturer))+
geom_bar(stat="identity")+
theme_classic()+
dnrec_scale_fill(palette="extended")

## "mix" palette
r
library(ggplot2)
ggplot(diamonds, aes(x=color, fill=clarity))+
geom_histogram(stat="count")+
theme_classic()+
dnrec_scale_fill(palette="mix")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.