PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.colors Package / PDFRgbColor Class / toHex Method
Collapse All Expand All
In This Topic

toHex Method
In This Topic
Converts the color to hex representation.
Syntax

    public java.lang.String toHex()

#### Return Value

The color value as a hex string (#XXXXXX).
See Also

#### Reference

PDFRgbColor Class
PDFRgbColor Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.