blendColours {psichomics} | R Documentation

## Blend two HEX colours

### Description

Blend two HEX colours

### Usage

    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

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

[Package psichomics version 1.12.1 Index]