The Mac has a neat eyedropper app provided, called Digital Color Meter.
Start it up (it’s in Applications/Utilities, or use Spotlight to find it), move your mouse over any other app or webpage and the app will display the RGB values for the color under the pointer. Easy!
More info here.