Paper Office
paper-docxAPI referenceshared

RGBColor

paper-docx 0.2.0 API reference

Immutable value object defining a particular RGB color.

Functions

from_string

funcfrom_string(rgb_hex_str: str) -> RGBColor

Return a new instance from an RGB color hex string like '3C2F80'.

paramrgb_hex_strstr

Returns

docx.shared.RGBColor

On this page