MacMuse@... wrote: > In a message dated 8/7/98 4:36:08 PM, you wrote: > <<Is there an existing (and simple) method of using a single number to > represent color? > Similar to the FB COLOR=_zBlack but with 256 values or more? > I don't want to re-invent the wheel.>> > Try: > Long Color blueVal%, greenVal%, redVal% > feed it values from 0 to 65535. It is ignored on non-color Macs. > See page 204 of FBII manual. Sorry for not being more explicit. I am looking a method of converting a single number (code) into R&,G&,B& Where the single number (0 to 256 or 0 to 32000) is converted to RGB. I could create a lookup table where 0 to 85 cycles reds, 85 to 170 cycles blues, and 170 to 255 cycles greens. However, if don't want to create my own coloring scheme if one already exists. Much of the data for this application will already have a single number for color. I am sometimes getting data with a 'MicroStation' color code. MicroStation is a UNIX drafting package (I think). Plus, it is far easier for the end-user to choose a single number than 3. Sort of like the crayon color picker versus the RGB color picker. ------------------ Pierre A. Zippi ------------------ Home email: paz@... Home web: http://web2.airmail.net/paz