blendColours: Blend two HEX colours

Description Usage Arguments Value Source Examples

Description

Blend two HEX colours

Usage

1
blendColours(colour1, colour2, colour1Percentage = 0.5)

Arguments

colour1

Character: HEX colour

colour2

Character: HEX colour

colour1Percentage

Character: percentage of colour 1 mixed in blended colour

Value

Character representing an HEX colour

Source

Code modified from https://stackoverflow.com/questions/5560248

Examples

1
psichomics:::blendColours("#3f83a3", "#f48000")

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.