CBL_SCR_NAME_TO_RGB

Converts a single named color into an RGB value.

Syntax:
call "CBL_SCR_NAME_TO_RGB" using     color-name
                                     RGB-values
                           returning status-code
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
table-count cblt-x2-compx pic x(2) comp-x.
color-name Group containing: Group containing:
  color-name-len   cblt-x1-compx   pic x comp-x.
  color-name-buf   pic x(n).   pic x(n).
RGB-values Group predefined as cblt-generic-attr-rgb-values containing: Group, occurs n times, containing
  cblte-garv-red-value   cblt-x2-compx   pic x(2) comp-x.
  cblte-garv-green-value   cblt-x2-compx   pic x(2) comp-x.
  cblte-garv-blue-value   cblt-x2-compx   pic x(2) comp-x.
  cblte-garv-filler   cblt-x1 occurs 2   pic x(2).
status-code See Library Routines - Key
On Entry:
color-name-len The number of characters in the name.
color-name-buf The color name to be converted.
On Exit:
RGB-values The RGB value to which the named color is converted.
filler Unused.
See Also: