Was scanned using a basic flatbed scanner under optimized brightness and contrast settings and the image was analyzed using. The color intensity was calculated by measuring the magenta channel in photoshop.Additionally, the image can be converted to grayscale and analyzed using the gray channel as the primary histogram color, if required. The average intensity of the selected color channel yields a numerical value, which can be used to quantify the concentration of nitrite in the sample.