How can a RGB color value be copied from reference image or render? In the render view one can see the RGB values while pressing LMB. 



Can these values be copied to the clipboard in order to paste them into a color widget?
Blender can copy any color value from the 3D viewport directly into the color widget.
The little icon "Sample data block from the 3D view" allows to pick a color value: