Length values in python-docx-oss are expressed as a standardized Length value object.
Length is a subclass of int, having all the behavior of an int. In
addition, it has built-in units conversion properties, e.g.:
Length objects are constructed using a selection of convenience constructors,
allowing values to be expressed in the units most appropriate to the context.
Base class for length constructor classes Inches, Cm, Mm, Px, and Emu.
Behaves as an int count of English Metric Units, 914,400 to the inch,
36,000 to the mm. Provides convenience unit conversion methods in the form
of read-only properties. Immutable.
Immutable value object defining a particular RGB color.
r, g, and b are each an integer in the range 0-255 inclusive. Using
the hexidecimal integer notation, e.g. 0x42 may enhance readability
where hex RGB values are in use: