add support for platform-specific colors; issue #39