The following document provides a description of the main features of the Common Application Programmer's Interface (CAPI) through the use of tutorial-style examples, and provides an overview of the Graphics Ports and Color functionality.
CAPI User Guide (Unix version) - 30 Aug 2011