g_c: Get a Custom Color from 'steve_hex'

View source: R/g_c.R

g_cR Documentation

Get a Custom Color from steve_hex

Description

g_c() (i.e. *g*et *c*olor) is a simple function that interfaces with the steve_hex data frame to return a hex value associated with a named color.

Usage

g_c(x)

Arguments

x

a label coinciding with a value in the color column of the steve_hex data frame

Details

Check steve_hex in this same package for the custom colors included

Value

g_c() returns a character vector, in particular, a hex triplet that coincides with the label supplied in the function. Use it for specifying a custom fill or color in a plot.

Author(s)

Steven V. Miller

Examples


g_c("su_blue")

g_c("martel_pink")

stevethemes documentation built on Feb. 16, 2023, 6:54 p.m.