get_color: Gets the hex code color based on angle and percentage.

View source: R/helpers.R

get_colorR Documentation

Gets the hex code color based on angle and percentage.

Description

flowfieldsfigment uses a base color scheme covering all hues.

Usage

get_color(angle, percentage)

Arguments

angle

Angle in degrees [0, 360]. Closely matches hue in HCL.

percentage

Percent [0, 100]. Closely matches chroma in HCL.

Value

Hex code for a color value.

Examples

get_color(0, 80)
get_color(90, 50)

WilliamTylerBradley/flowfieldfigments documentation built on May 1, 2022, 6:07 p.m.