RGB Color Correction and Gamut Limitations in Smartphone-Based Kinetic Analysis of Chemical Reactions

14 May 2025, Version 1
This content is a preprint and has not undergone peer review at the time of posting.

Abstract

The variability in hardware specifications and environmental factors poses significant challenges to the use of smartphone cameras in analytical measurement. We systematically quantified multiple sources of uncertainty in smartphone-based color measurements, finding that while sensor repeatability is high (∆E < 0.5), lighting conditions and viewing angles can introduce substantial errors (∆E increasing by up to 64% at oblique angles). We implemented and evaluated a matrix-based image color correction methodology using a color reference chart, reducing inter-device and lighting-dependent variations by 65-70% (quantified by the color change metric, ∆E). Moving beyond static image correction to video analysis, our approach was validated through the monitoring of Blue1 dye degradation kinetics using videos recorded on two different smartphones. Time-resolved and color-corrected measurements from both devices produced consistent kinetic profiles. Importantly, we identified a fundamental limitation in RGB-based colorimetry: highly saturated colors that exceed the sRGB color gamut create artificial discontinuities in kinetic profiles, manifesting as ”shouldering” effects not present in spectrophotometric data. Unlike previous methods that focused on controlling environmental factors through custom enclosures, our color correction methodology systematically quantifies and corrects for multiple sources of uncer-tainty across various smartphone models, enabling standardized measurements even in variable conditions. This advancement enhances the reliability of field-ready, smartphone-based colorimetric applications and establishes a framework for calibrating video-based reaction monitoring against established spectroscopic measurements.

Keywords

computer vision
smartphone colorimetry
digital image colorimetry
kinetics
reaction monitoring
cameras
video analysis

Supplementary materials

Title
Description
Actions
Title
Machine readable data
Description
Machine-readable files, including spreadsheets and Python code, associated with the manuscript. All data are organised by Figure number.
Actions

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.