Adjust tinting algorithm