K4Cu3(C3N3O3)2X (X = Cl, Br): strong anisotropic layered semiconductors containing mixed p-p and d-p conjugated π-bonds.