>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  C2RGB
Libraries

C2RGB

C2RGB

Name


      C2RGB

Purpose


      Convert a 24-bit color value to Red, Green, Blue values.

Category


Calling Sequence


      c2rgb, c, r, g, b

Inputs


      c = input 24-bit color value. in

Keyword Parameters


Outputs


      r,g,b = returned R,G,B values. out

Common Blocks


Notes


      Notes: example: c=9856050, r,g,b = 50,100,150.
     
      Inverse of rgb2c.

Modification History


      R. Sterner, 2002 Jan 09
  Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us