Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by neild

15 years ago

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).

0 comments

neild

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities