On Thu, Aug 28, 2008 at 1:07 PM, Aaron Mackey <[EMAIL PROTECTED]> wrote:
> 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 reu
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
2 matches
Mail list logo