fast RGB tint caching for canvas