makeColour: Single Colour from depthmapX's Palettes

makeColourR Documentation

Single Colour from depthmapX's Palettes

Description

Create a single colour from depthmapX's palettes.

Usage

makeDepthmapClassicColour(value, rangeMin = 0, rangeMax = 1)

makeAxmanesqueColour(value, rangeMin = 0, rangeMax = 1)

makePurpleOrangeColour(value, rangeMin = 0, rangeMax = 1)

makeBlueRedColour(value, rangeMin = 0, rangeMax = 1)

makeGreyScaleColour(value, rangeMin = 0, rangeMax = 1)

makeNiceHSBColour(value, rangeMin = 0, rangeMax = 1)

Arguments

value

Value within the min/max range to take

rangeMin

The min value of the range

rangeMax

The max value of the range

Value

Returns a single colour.

Examples

makeDepthmapClassicColour(0.2, 0, 1)
makeAxmanesqueColour(0.2, 0, 1)
makePurpleOrangeColour(0.2, 0, 1)
makeBlueRedColour(0.2, 0, 1)
makeGreyScaleColour(0.2, 0, 1)
makeNiceHSBColour(0.2, 0, 1)

alcyon documentation built on Aug. 30, 2026, 1:07 a.m.