RGBtoTrue
; ;+
; NAME:
; RGBtoTrue
;
; PURPOSE:
; Converts a r,g,b value to the true color number
;
; CATEGORY:
; Graphics.
;
; CALLING SEQUENCE:
; true = RGBtoTrue([255,23,12])
;
; INPUTS:
; r,g,b vector
;
; KEYWORD PARAMETERS:
; None.
; OUTPUTS:
; single long integer
; COMMON BLOCKS:
; None.
; SIDE EFFECTS:
; None..
; RESTRICTIONS:
; None.
; MODIFICATION HISTORY:
; Derived from David Fanning's color24 function, I just wanted
; a different name.
; Written 2/23/2000 by Ronn Kling
; Kling Research and Software
; www.rlkling.com