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

I believe what you are looking for is the alpha channel--the fourth color component which specifies how to blend two values. It doesn't make sense to add RGB(0,0,0) and RGB(0.5,0.5,0.5). It does make sense to add RGBA(0,0,0,0) and RGBA(0.5,0.5,0.5,0.5).


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

Search: