kg_create_cc: Create complementary color

View source: R/kg_color_schemes.R

kg_create_ccR Documentation

Create complementary color

Description

kg_create_cc This function create complementary color.

Usage

kg_create_cc(basecols = c("#ff48ac", "red"), alpha = 1)

Arguments

basecols

Set color data.

alpha

The alpha transparency. Numbers range from 0-1. see argument alpha in rgb.

Value

Return base and complementary color in a data frame

Examples

kg_show_console(kg_create_cc())
kg_plot_color(color = kg_create_cc())

KaradaColor documentation built on April 21, 2023, 9:07 a.m.