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

SETCOLOR

SETCOLOR

Name


      SETCOLOR

Purpose


      Set a single color table entry.

Category


Calling Sequence


      setclr, clr, indx

Inputs


      clr = color specification. May be in hex. in
      indx = color index to set (def=last). in

Keyword Parameters


Keywords


        BRIGHTNESS=fact Brightness factor, 0 to 1 (def=1).

Outputs


Common Blocks


Notes


      Notes: colors are specified by giving R,G,B in that
        order. Decimal numbers must be 3 3-digit values
        like 255255255 or 255255000 and may be a string.
        Colors given in hex must start with # like
        #ffffff or #ffff00 (case ignored).
        Spaces, tabs, and commas are allowed:
        # ff ff 00 or 255 255 000 or 100,050,000
        but all digits must be given.

Modification History


      R. Sterner, 1997 Feb 13
      R. Sterner, 1998 Jan 23 --- Added BRIGHTNESS keyword.
  Copyright (C) 1997, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us