user198989
user198989

Reputation: 4665

Same style, different font color in Chrome

I am using same style, however, it rendered different in chrome. It shows lighter. Is there a way to fore chrome render the style same with other browsers ?

.text {
    color:#333435;
    font-size:13px;
    font-family:arial;
    }
<div class="text">Test text</div>

enter image description here

Upvotes: 0

Views: 252

Answers (2)

Eli Nathan
Eli Nathan

Reputation: 1131

Check out this link for more information.

Colours aren't numbers. Each browser will use numbers to represent the colour but it will each display the colour slightly differently.

Upvotes: 2

Miles
Miles

Reputation: 774

First off, I feel your pain. I come from print and it can be infuriating that you can't get everything perfect.

But, alas, you can't get everything perfect. If you want to know why here's a little article for you: font rendering

Each browser will handle fonts a little differently and you kind of have to get right with it. When you have title or logo that needs to be exact consider converting it to an SVG.

Upvotes: 1

Related Questions