Refer to the function "GpiCreateLogColorTable" in the Presentation Manager Programming Reference for more information.