Home / CSE / CSS - CS :: Discussion

Discussion :: CSS - CS

  1. Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?

  2. A.

     RGB

    B.

     RGBa

    C.

     RGBaplha

    D.

     AlphaRGB

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    An RGBa is specified via a function style rgba(r,g,b,a) value, where colors r, g, and b are specified as a decimal value from 0 to 255 or a percentage from 0 to 100%, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque). Values outside this range will be rounded up or down to fit the closest value.


Be The First To Comment