added support for operations with colors