Lomont.org

(Also lomonster.com and clomont.com)

C++

Accurate color conversions

This is a quick note for converting byte values colors in 0-255 back and forth to floating-point colors in 0-1 which avoids common errors.

Read more →