  The transverse profile of the chromoelectric flux tubes in SU(2) and SU(3)
pure gauge theories is analyzed by a simple variational ansatz using a strict
analogy with ordinary superconductivity. Our method allows to extract the
penetration length and the coherence length of the flux tube.
