Elementalist's Palette

Whenever you cast a spell with {X} in its mana cost, put two charge counters on Elementalist's Palette.
{T}: Add one mana of any color.
{T}: Add {C} for each charge counter on Elementalist's Palette. Spend this mana only on costs that contain {X}.