ChangeColorLightness: Change Color Lightness

View source: R/seqNdisplayR.R

ChangeColorLightnessR Documentation

Change Color Lightness

Description

Internal function: if the lightness value is <0.5 the color is considered dark if the lightness value is >=0.5 the color is considered light

Usage

ChangeColorLightness(hex_color, factor)

Arguments

c

Author(s)

SLA

Examples

c_hex = '#FFA550'
c_new = ChangeColorLightness(c_hex, 0.25)


THJlab/seqNdisplayR documentation built on Nov. 13, 2024, 10:36 a.m.