<p>In computer typography, the technique for adjusting strokes so that they align with the pixel grid is called <a href="https://en.wikipedia.org/wiki/Font_hinting" rel="nofollow noreferrer">hinting</a>.</p>

<p>The color artifacts you are seeing are due to another technique called <a href="https://en.wikipedia.org/wiki/Subpixel_rendering" rel="nofollow noreferrer">subpixel rendering</a>.</p>

CC BY-SA 3.0
2018-03-23T18:46:29.013Z
2018-03-23T18:46:29.013Z
Gus
<p>I have a white line on black background. Because of the pixel geometry the line does not look really white; one edge looks red-isch, the other blue-isch. Other fore- and background yield other sensations. Pixel geometry is striped RGB, DPI is ~90, viewing distance about an arms length.</p>

<p>Is there any software based solution or maybe visual design that makes this less appearant, assuming we know the screen pixel geometry in advance?</p>

CC BY-SA 3.0
2018-03-23T19:47:06.040Z
Could you specify if your line is font (text) rendering or something you draw yourself some other way?
Olivier
CC BY-SA 3.0
2018-03-24T09:32:47.093Z
@Olivier Both line and text actually rendered using OpenGL, though the effect is most appearant for lines aligned to pixel grid in the direction of the striped pixel geometry.
Andreas
<color><artifacts>
What remedies are there for percieved color artifacts due to pixel geometry?
Andreas
# What remedies are there for percieved color artifacts due to pixel geometry?

(Asked by: username_0 on 2018-03-23)

I have a white line on black background. Because of the pixel geometry the line does not look really white; one edge looks red-isch, the other blue-isch. Other fore- and background yield other sensations. Pixel geometry is striped RGB, DPI is ~90, viewing distance about an arms length.

Is there any software based solution or maybe visual design that makes this less appearant, assuming we know the screen pixel geometry in advance?

**Tags:** color, artifacts

> **Comments:**
> **username_1**: Could you specify if your line is font (text) rendering or something you draw yourself some other way?  
> **username_0**: @username_1 Both line and text actually rendered using OpenGL, though the effect is most appearant for lines aligned to pixel grid in the direction of the striped pixel geometry.  

---

## 1 answers

### Answer by username_2 on 2018-03-23. Score: 1

In computer typography, the technique for adjusting strokes so that they align with the pixel grid is called [hinting](https://en.wikipedia.org/wiki/Font_hinting).

The color artifacts you are seeing are due to another technique called [subpixel rendering](https://en.wikipedia.org/wiki/Subpixel_rendering).


---

