css color rendering different in safari

2019-04-06 09:03发布

问题:

I am trying to pick colours for my web app but realizing a huge difference in the way safari renders the stylesheet when compared with firefox or chrome. The red colour in the screenshot is supposed to be #ff3366, however it seems safari chooses to render #ff0036.

I am not sure why I can't find any information on this problem, am I crazy?

I am running 10.9.1 Mavericks

thanks!

回答1:

Sorry, but there’s really nothing you can do about it.

  • Each browser has its own rendering engine, and they render colors differently.
  • Users rarely visit a website in more than one browser, and as a result will probably not notice.
  • As I said, there’s nothing you can do to change it. Just pick a color that looks fine in the different browsers and continue. I wish I could offer you a better answer but that’s really all there is to it!