News for hackers. Stuff that matters.
Re:Should you normalize RGB values by 255 or 256? by yuriks on Tuesday June 02, 2026 @12:56AM (#48366233)
I think more to the point, if 0 doesn't represent 0.0, and 255 doesn't represent 1.0, congratulations you've just lost your additive and multiplicative identities and most of the math used in colors falls apart.

The argument for 0-256 feels compelling when thinking about the physical display, but it seems like a very poor fit for any digital image processing or rendering.

There are no comments on this comment yet.