Most browsers are quite dumb. They have no clue about the colors that are really in your picture. Browsers make assumptions about the data and map that data to their own color space. Safari makes pictures too warm, Chrome makes them too blue etc.
None of the browsers can match your picture in your own image editor. Image viewers are in between - sometimes they map it correctly sometimes they don't.
When you take the shot, the software assigns a color space to the data, whether it is JPEG, TIFF, DNG or RAW. You can sometimes select which color space will be assigned. Leica has sRGB, AdobeRGB1998, and CIERGB (M8.) Most cameras assign "camera RGB" to the data and you can't change it. Camera RGB is similar to sRGB, but not quite.
The fact is that the RGB in the browser is not the same as the camera, and somehow you have to change the data to look right in the browser - and they are different from one another.
This discussion is about how to make those changes.