Cache color calculations so image colors that have already been calculated happen instantly instead of every time, which can take several seconds on large image loads