caching color data