Handbuch der Magie (German book) by Jochen Zmeck Page 97 et seq.
Personal Comment: This is only interesting from a technical point of view. The same effect can be achieved even easier with the cards counted in "Biddle Style" But of course this kills in a real performance. Actually I did it today and the color change in the end got me a reaction I was not prepared for. So I recommend the effect, but not the method.