Get the latest tech news
Better SRGB to Greyscale Conversion
October 13th, 2025 A common approach to convert a gamma-corrected sRGB color (R', G', B') to greyscale is to take a weighted sum of its components: Y' = 0.2126 \cdot R' + 0.7152 \cdot G' + 0.0722 \cdot B'. The weights are given in the Rec.
None
Or read this on Hacker News