Before you either paint from a photo on the computer or measure a color sample, you need to calibrate the brightness of the computer screen. You overlap a white card (lit by a light source) with the white patch of this screen. Then adjust the brightness the screen until the screen brightness matches the card brightness. Then you can load your reference photo on this computer for painting, or measure your color sample.
Computer screen brightness adjustment tool
Qiang Huang