R/GetColorTable.R

GetColorTable <- function(col) {
  # Convert all colors into format "#rrggbb"
  rgb <- col2rgb(col);
  col <- rgb2col(rgb);
  sort(unique(col))
}
petrbouchal/pbtools documentation built on May 25, 2019, 2:53 a.m.