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

2009-10-14 Thread Jim Lemon
Hi Bryan, You can get a near match with the color.id function in the plotrix package. Jim __ 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

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

2009-10-14 Thread Romain Francois
On 10/14/2009 12:05 AM, Barry Rowlingson wrote: On Tue, Oct 13, 2009 at 10:58 PM, Bryan Hansonhan...@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.

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

2009-10-14 Thread Romain Francois
On 10/14/2009 12:26 PM, Romain Francois wrote: On 10/14/2009 12:05 AM, Barry Rowlingson wrote: On Tue, Oct 13, 2009 at 10:58 PM, Bryan Hansonhan...@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

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

2009-10-13 Thread Bryan Hanson
Hello List Dwellers: I¹ve looked around quite a bit, but don¹t quite see an answer that I understand. I¹m looking for a way to take any kind of color specification (rgb, hsv, hcl, hex) and match it to the n-nearest R official color names. Clearly it is easy to interconvert different

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

2009-10-13 Thread Barry Rowlingson
On Tue, Oct 13, 2009 at 9:43 PM, Bryan Hanson han...@depauw.edu wrote: Hello List Dwellers: I¹ve looked around quite a bit, but don¹t quite see an answer that I understand. I¹m looking for a way to take any kind of color specification (rgb, hsv, hcl, hex) and match it to the n-nearest R

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

2009-10-13 Thread Bryan Hanson
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 On 10/13/09 5:12 PM, Barry Rowlingson

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

2009-10-13 Thread Barry Rowlingson
On Tue, Oct 13, 2009 at 10:58 PM, Bryan Hanson han...@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