rbga

What are differences between RGB vs RGBA other than 'opacity'

不羁岁月 提交于 2019-11-30 11:42:04
I have moved beyond using standard colors in CSS by declaring them orange , blue , aquamarine , etc..., and have been using rgb() like so for the same colors respectively, rgb(255,165,0) , rgb(0,0,255) and rgb(127,255,212) (thanks to the ColorHighlighter package in ST3). Upon altering a gradient for bootstrap .btn I came across rgba() . Quick research explains that a stands for alpha , and theres a whole bunch of integral math attributed to Catmull and Smith . It is also somewhat easy to find that the alpha channel is used for "alpha compositing", which can mostly be associated as "opacity".

What are differences between RGB vs RGBA other than 'opacity'

梦想的初衷 提交于 2019-11-29 17:36:58
问题 I have moved beyond using standard colors in CSS by declaring them orange , blue , aquamarine , etc..., and have been using rgb() like so for the same colors respectively, rgb(255,165,0) , rgb(0,0,255) and rgb(127,255,212) (thanks to the ColorHighlighter package in ST3). Upon altering a gradient for bootstrap .btn I came across rgba() . Quick research explains that a stands for alpha , and theres a whole bunch of integral math attributed to Catmull and Smith. It is also somewhat easy to find