Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Only sRGB colors are supported -- why not linear?

sRGB is smaller for storage. All actual calculations (alpha blending, gradients) are already done in linear space.

I'm not sure doing calculations in linear space is actually a good idea though. Most art programs and the web use sRGB, so accurate conversion isn't possible.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: