RGB color detection system by compact instrument on three applications chemical analysis; identify the stoichiometry of the predominant complex, acid dissociation constant determination and Ion-association liquid-liquid extraction for the assay of tetracycline