Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 22:15:103525.
doi: 10.1016/j.mex.2025.103525. eCollection 2025 Dec.

ChatGPT based method for obtaining repeatable and quantitative colorimetric measurements

Affiliations

ChatGPT based method for obtaining repeatable and quantitative colorimetric measurements

Morena Xaba et al. MethodsX. .

Abstract

The rise of artificial intelligence (AI) applications in the modern industry has been shown to boost productivity in many sectors such as manufacturing, mining, finance, marketing, pharmacy, textiles, and a few more industries. AI is a neural network system that is wired to learn by interacting with humans and by repetition of tasks. A sub-category of AI common to many ordinary citizens is the Chat Generative Pre-training Transformer (ChatGPT) a program of OpenAI Global, LLC., that generates human-like dialogue and responses from the user input. • ChatGPT can be used to determine colorimetric values for the assessment of environmental pollutants such as congo red (CR) and coomassie brilliant blue (CBB) and prove its ability for consistent reproducibility. • Several color models have been developed such as CIE Lab, RGB, and Xyz to quantify colors. • We used ChatGPT, in conjunction with Color Grab which is an Android app, to quantitatively determine the RGB values of the pollutant solutions, and investigated the color difference ΔE, as well as the hue and chroma that facilitates the color absorption of the pollutants. • The results from ChatGPT and Color Grab were confirmed with the well-established ultra-violet visible (UV-Vis) spectrophotometer.

Keywords: Artificial intelligence; ChatGPT; Chromaticity; Color Grab; Color differences; Colorimetry; Congo red; Coomassie brilliant blue; UV-Vis.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing financial interest.

Figures

Image, graphical abstract
Graphical abstract
Fig 1
Fig. 1
Spectrophotometric measurements of Congo red and coomassie brilliant blue, (A) absorption spectra of CBB, (B) absorption spectra of CR, (C) calibration curve of CBB, (D) calibration curve of CR.
Fig 2
Fig. 2
RGB plots of (A) Congo red and (B) coomassie brilliant blue read using the Color Grab app.
Fig 3
Fig. 3
RGB plots using ChatGPT on congo red, (A) run 1, (B) run 2, (C) run 3, and on coomassie brilliant blue (D) run 1, (E) run 2, and (F) run 3.
Fig 4
Fig. 4
Color differences of (A) CBB and CR using the Color Grab Android app, (B) color differences of CR using ChatGPT, and (C) color differences of CBB using ChatGPT.
Fig 5
Fig. 5
Hue CIE lab plots by Color Grab app of (A) Congo red and (B) coomassie brilliant blue.
Fig 6
Fig. 6
Hue CIE lab plots by ChatGPT of Congo red (A) Run 1, (B) Run 2, (C) Run 3, and coomassie brilliant blue (D) Run 1, (E) Run 2, (F) Run 3.

References

    1. Thakur A., Devi P. A comprehensive review on water quality monitoring devices: materials advances, current status, and future perspective. Crit. Rev. Anal. Chem. 2024;54:193–218. doi: 10.1080/10408347.2022.2070838. - DOI - PubMed
    1. Liu B., Zhuang J., Wei G. Recent advances in the design of colorimetric sensors for environmental monitoring. Environ. Sci. Nano. 2020;7:2195–2213. doi: 10.1039/D0EN00449A. - DOI
    1. Fernandes G.M., Silva W.R., Barreto D.N., Lamarca R.S., Lima Gomes P.C.F., Flávio da S Petruci J., Batista A.D. Novel approaches for colorimetric measurements in analytical chemistry – A review. Anal. Chim. Acta. 2020;1135:187–203. doi: 10.1016/j.aca.2020.07.030. - DOI - PubMed
    1. Zulkifli S.N., Rahim H.A., Lau W.J. Detection of contaminants in water supply: a review on state-of-the-art monitoring technologies and their applications. Sens. Actuators B Chem. 2018;255:2657–2689. doi: 10.1016/j.snb.2017.09.078. - DOI - PMC - PubMed
    1. Luka G.S., Nowak E., Kawchuk J., Hoorfar M., Najjaran H. Portable device for the detection of colorimetric assays. R. Soc. Open Sci. 2017;4 doi: 10.1098/rsos.171025. - DOI - PMC - PubMed

LinkOut - more resources