Converting (Red,Green, Blue) into FL_COLOR indices

Gwenael Durand (Gwenael.Durand@cao-vlsi.ibp.fr)
Mon, 12 May 1997 14:00:46 +0200

To subscribers of the xforms list from Gwenael Durand <Gwenael.Durand@cao-vlsi.ibp.fr> :

Hi,

I'd like to display in a form, a dozen of small boxes with different
colors.
My application gives me the different colors in the form of (r,g,b)
triples.

Is it possible (and how :) to find the FL_COLOR indices from those
triples (ie the opposite of fl_get_icm_color()),
or do i have to create my own colormap?

Thanks,
Gwenael
-----------------------------------------------

Gwenael Durand ( Gwenael.Durand@asim.ibp.fr )
__
/\_\ Laboratoire LIP6 - ASIM (ex MASI)
\/_/ Universite Pierre et Marie Curie - Paris 6
http://asim.ibp.fr/transdoc/index.gb.html
-----------------------------------------------
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/