Get shade of colours
Value
A character value or vector of character values of hex code/s shaded to the desired proportion.
Examples
shade_colour(acdc_green, p = 0.2)
#> [1] "#0A1D0D"
shade_colours(acdc_palettes$acdc_secondary, p = 0.4)
#> [[1]]
#> [1] "#0A203A"
#>
#> [[2]]
#> [1] "#460A23"
#>
#> [[3]]
#> [1] "#24323C"
#>
#> [[4]]
#> [1] "#66490B"
#>
#> [[5]]
#> [1] "#0C5154"
#>
#> [[6]]
#> [1] "#662515"
#>
#> [[7]]
#> [1] "#391D3D"
#>
#> [[8]]
#> [1] "#575B1B"
#>
#> [[9]]
#> [1] "#162545"
#>
#> [[10]]
#> [1] "#5D0C2F"
#>
#> [[11]]
#> [1] "#003B34"
#>