public HPDF_STATUS setRGBFill(
    float r, 
    float g, 
    float b)

Sets the filling color.

Parameters

, g, b = The level of each color element. They must be between 0 and 1. (See "Colors")

Graphics Mode

Before and after - GMode.pageDescription or GMode.textObject.