support for resource color