OEGetDefaultAtomColorΒΆ

OESystem::OEColor OEGetDefaultAtomColor(unsigned int atomic,
                                        unsigned int style=OEAtomColorStyle::WhiteCPK)

Returns the default color associated with an atomic number for the given atom color style.

atomic
Atomic number.
style
This value has to be from the OEAtomColorStyle namespace.

See also

Element coloring (CPK) chapter