[Date Index] [Thread Index] [Author Index]
Re: RGBColor to Hue?
Hi, no documented function ? really ? And what's that: ?ToColor "ToColor[color, form] converts color to form if form is GrayLevel, RGBColor \ or CMYKColor color is converted into it. Otherwise form[color] is evaluated \ and the result is expected to be a valid color directive." Regards Jens David Park wrote: > > Dear MathGroup, > > Does anyone know transformation equations that will convert RGBColors to > Hues? If one looks at the input ColorSelector there seems to be an > equivalence between them. Yet there seems to be no documented function which > converts from RGBColor to Hue. > > Specifically I would like to obtain a hue and a brightness for any RGBColor. > I am not looking for something picture perfect. Just something roughly > equivalent for screen display of Mathematica notebooks. > > David Park > djmp at earthlink.net > http://home.earthlink.net/~djmp/