Select all objects to be colored and use this command; after that, these objects will be colored.

Here is an example you can try: DColorize.3dm.
DColorize command result