Color Properties

अपारदर्शिता (Opacity)

वह डिग्री जिस तक कोई रंग या तत्व अपने पीछे की सामग्री को अवरुद्ध करता है, जहाँ 100% पूरी तरह अपारदर्शी और 0% पूरी तरह पारदर्शी है।

Opacity is the inverse of transparency. In CSS, opacity can be set using the opacity property (which affects the entire element and its children) or using alpha-channel color values like rgba() and hsla(). Opacity is essential for creating layered visual effects, overlay patterns, glass-morphism designs, and subtle background tints. When compositing semi-transparent colors, the visible result depends on both the foreground color and whatever is behind it, following the alpha compositing formula defined by Porter and Duff.

इसे आज़माएँ