Witness this oddity (to me): > rainbow_hcl(10)[1] [1] "#E18E9E" > d <- attributes(hex2RGB(rainbow_hcl(10)))$coords[1,] > rgb(d[1], d[2], d[3]) [1] "#C54D5F"
What happened? FYI, this came up as I'm trying to reuse the RGB values I get from rainbow_hcl in a call to rgb() where I can also set alpha transparency levels ... -Aaron [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.