DynamicPDF™ Generator v3.0 for COM/ActiveX  uses hexadecimal string values to assign Colors for Page Elements.

For example, if we want to use blue color as text color for a Label or TextArea object, 

We give script as follows:

[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}" -->
<%
    Dim MyDocument
    Dim MyPage
    Dim MyLabel
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
    Set MyPage = MyDocument.AddPage()
    Set MyLabel = MyPage.AddLabel( "Hello World!", 10, 10, 70, 20 )
    MyLabel.TextColor = "0000ff"
    MyDocument.DrawToWeb
    Set MyPage = Nothing
    Set MyDocument = Nothing
%>

See Also 

Programming with Generator for COM-ActiveX