For example, chameleons can change the color of their skin to blend in with the surrounding trees and leaves.

Literal

For-example, chameleon [topic-は] skin [of-の] color [object-を] change, surrounding [of-の] tree [or-や] leaves [at-に] blend-in can.

とけ込む ('to blend in, melt into') is a compound verb — 溶け (melt) + 込む (into, deeply). The ~込む suffix is highly productive, adding an 'inward / deeply' nuance to many verb stems. ~ことが出来る is the formal potential construction, longer and more bookish than the bare potential ending.