[R] General means of matching a color specification to an official R color name

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Wed Oct 14 00:05:21 CEST 2009


On Tue, Oct 13, 2009 at 10:58 PM, Bryan Hanson <hanson at depauw.edu> wrote:
> Works perfectly!  Thanks Barry.  I had actually seen some suggestions on
> using a distance, but by then I was thinking about hcl spaces and distance
> isn't so as simple there.  I'm too tired I think.
>
> Anyway, you've got me running again!  Thanks, Bryan

 There's a CPAN module for Perl that does hcl colour similarity:

 >http://search.cpan.org/~mbarbon/Color-Similarity-HCL-0.04/lib/Color/Similarity/HCL.pm

 the Perl code is pretty neat, looks easy to R-ify - released under
the perl license.

Barry




More information about the R-help mailing list