change_icon_color: Change Icon Color

Description Usage Arguments Value Examples

View source: R/change_icon_color.R

Description

Change Icon Color

Usage

1
change_icon_color(icon, color)

Arguments

icon

icon, which is a 4D array

color

color to change, in text form, passed to col2rgb

Value

A 4D array of the icon

Examples

1
2
3
4
icon = scifigure::icons[[2]]
color = "blue"
original_color = "red"
icon2 = change_icon_color(icon, color)

prpatil/scifigure documentation built on Aug. 22, 2020, 4:49 p.m.