%N pgqcr %F $MIR/src/pgqcr.f
%D Inquire color representation
%B
      SUBROUTINE PGQCR (CI, CR, CG, CB)
      INTEGER CI
      REAL    CR, CG, CB

 Query the RGB colors associated with a color index.

 Arguments:
  CI  (input)  : color index
  CR  (output) : red, green and blue intensities
  CG  (output)   in the range 0.0 to 1.0
  CB  (output)
