Skip to contents

A function to produce a tinted version of a hexadecimal colour code

Usage

tint_hex(colour, tint, bg_colour = "#ffffff")

Arguments

colour

The colour to tint

tint

The percentage tint desired, higher is 'lighter'

bg_colour

The background colour to tint against, defaults to white

Value