get_2colour_scale: Create 2 colour scale palette Creates a list of colour names...

Description Usage Arguments Value

View source: R/colour_scales.R

Description

Create 2 colour scale palette

Creates a list of colour names (RGB). Generates a scale between two colours. By default these are the shades of orange and blue used in the analysis function colour scheme.

Usage

1
get_2colour_scale(n, colour1 = c(0, 69, 86), colour2 = c(255, 105, 0))

Arguments

n

the number of colours needed

colour1

the first colour in the scale - a numeric vector representing red, green and blue (max 255)

colour2

the last colour in the scale - numeric vector representing red, green and blue (max 255).

Value

vector of hexadecimal colours containing shades between the two selected colours


best-practice-and-impact/CARS2 documentation built on Dec. 19, 2021, 8:47 a.m.