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)
Examples
makeDepthmapClassicColour(0.2, 0, 1)
#> [1] "#33FF00"
makeAxmanesqueColour(0.2, 0, 1)
#> [1] "#3388DD"
makePurpleOrangeColour(0.2, 0, 1)
#> [1] "#998EC3"
makeBlueRedColour(0.2, 0, 1)
#> [1] "#91BFDB"
makeGreyScaleColour(0.2, 0, 1)
#> [1] "#444444"
makeNiceHSBColour(0.2, 0, 1)
#> [1] "#3377DD"