Why do little egrets have yellow feet?

 

The yellow or greenish-yellow feet of the little egret are characteristic of this small heron, the coloration developing while the young are still in the nest.

Little egrets usually feed in fairly shallow water, moving forward with slow and deliberate steps, interspersed with frequent halts.

Source: Why do little egrets have yellow feet? | Discover Wildlife