Learn R Programming

explore (version 1.3.4)

mix_color: Mix colors

Description

Mix colors

Usage

mix_color(color1, color2 = NA, n = 5)

Value

Vector of color-codes

Arguments

color1

Color 1

color2

Color 2

n

Number of different colors that should be generated

Examples

Run this code
mix_color("blue", n = 10)
mix_color("gold", "red", n = 4)

Run the code above in your browser using DataLab