Two sets of isomeric organic dyes with n-hexyl (DH and AH) or 2-ethylhexyl (DEH and AEH) groups substituted at the spacer part have been designed and straightforwardly synthesized via a facile and selective synthetic route. The structure difference between the isomers