Updated ColorTemplate with float parsing