A function to generate colors in Hue-Chroma-Luminance colour scheme for mapping phyloregions.

hexcols(x)

## Arguments

x

An object of class metaMDS

## Value

A range of discrete colors differentiating between phyloregions in terms of their shared relationships.

## Author

Barnabas H. Daru darunabas@gmail.com

## Examples

library(vegan)
#> This is vegan 2.6-2
data(dune)
c1 <- metaMDS(dune, trace = 0)
hexcols(c1)
#> Warning: convex combination of colors in polar coordinates (polarLUV) may not be appropriate
#> Warning: convex combination of colors in polar coordinates (polarLUV) may not be appropriate
#>         1         2         3         4         5         6         7         8
#> "#DB9D86" "#CEA08A" "#CB9FA2" "#CF9EA2" "#C5A67A" "#BBA97B" "#C2A77F" "#BBA3B2"
#>         9        10        11        12        13        14        15        16