More than 400 homes were evacuated after flames torched the steep Rocky Mountain foothills, just west of Boulder, Colorado.