mix_color: A function to mix two different colors

View source: R/mix_color_function.R

mix_colorR Documentation

A function to mix two different colors

Description

This function mixes two different colors. It relies on functions of the package colorspace

Usage

mix_color(alpha, color1, color2)

Arguments

alpha

value between 0 and 1 where 0 is 100% the first color and 1 is 100% the second color.

color1

First color to be mixed

color2

Second color to be mixed


RodolfoPelinson/AtlanticForestMetacommunity documentation built on Aug. 5, 2023, 3:53 p.m.