Color control in pi-conjugated organic polymers for use in electrochromic devices.