Core colorjam functions

Most frequently used colorjam functions

blend_colors()

Blend multiple colors

closestRcolor()

Find the closest R color

closest_named_color()

Closest colorjam named_colors

color_complement()

Create color complement by rotating the color hue

colors_to_df()

Convert colors to data.frame of color attributes

group2colors()

Assign colors to vector of group labels

rainbowJam()

rainbow categorical colors using varied luminance and chroma

sort_colors()

Sort a vector of colors using one or more color attributes

subset_colors()

Subset a vector of colors using one or more color attributes

Colorjam data

Jam linear and divergent gradient data

jam_divergent

Jam Divergent Color Gradients

jam_linear

Jam Linear Color Gradients

named_colors

Colorjam named_colors

Colorjam R-shiny functions

The Colorjam R-shiny App

colorjamShinyServer()

Colorjam R-shiny app server

colorjamShinyUI()

Colorjam R-shiny app UI

launchColorjamShiny()

Colorjam R-shiny App

Colorjam ggplot2 functions

Functions that apply colorjam to ggplot2 objects

jam_pal()

Jam color palette for ggplot2

scale_color_jam()

Apply rainbowJam categorical colors to a ggplot2 object

scale_fill_jam()

Apply rainbowJam categorical color fill to a ggplot2 object

theme_jam()

Jam default theme for ggplot2

Colorjam gradients

Functions to create and manipulate linear and divergent color gradients

col_div_xf()

Divergent color interpolation function with adjustable range and floor

col_linear_xf()

Linear color interpolation function with adjustable range, baseline, and floor

make_jam_divergent()

Make divergent color gradient

twostep_gradient()

Create two-step linear gradient

Colorjam assignment

Functions that assign colors to numeric vector or matrix data, or to character vectors

col_div_xf()

Divergent color interpolation function with adjustable range and floor

col_linear_xf()

Linear color interpolation function with adjustable range, baseline, and floor

group2colors()

Assign colors to vector of group labels

matrix2heatColors()

Convert numeric matrix to heatmap colors

rainbowJamMulti()

Rainbow categorical colors across multiple groups

vals2colorLevels()

Apply color gradient to numeric values

vibrant_color_by_hue()

Get vibrant reference color for a given HCL color hue

Colorjam display

Functions to display colors for visual review

color_pie()

Show colors spread around a pie chart

showDichromat()

Show colors using dichromat color blindness adjustment

Colorjam hue warp

Functions to adjust hue color wheel for RGB, RYB, dichromat and other specifics

add_colorjam_preset()

Add colorjam hue warp preset

add_colorjam_step()

Add colorjam chroma/luminance step

adjust_hue_warp()

Adjust the color hue warp effect

approx_degrees()

Interpolation for degree angles

colorjam_presets()

Colorjam hue warp presets

colorjam_steps()

Colorjam chroma/luminance steps

display_degrees()

Display degree angles around a unit circle

h2hw()

Convert standard hue to warped virtual hue

h2hwOptions()

Get hue color warp options

hcl_to_hsl_hue()

Convert HCL hue to HSL hue

hsl_to_hcl_hue()

Convert HSL hue to HCL hue

hw2h()

Convert warped virtual hue to standard hue

mean_angle()

Calculate the mean angle

plot_colorjam_preset()

Plot colorjam preset

remap_colorjam_preset()

Remap colors to a new colorjam preset

validate_colorjam_preset()

Validate h1,h2 color hue warp data

Colorjam deprecated functions

Functions to be removed in future versions

rainbowJam_v1()

rainbow categorical colors using varied luminance and chroma