Home » CSS » CSS Colors » Question
  1. Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?
    1. RGBaplha
    2. RGB
    3. AlphaRGB
    4. RGBa
    5. None of these
Correct Option: D

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.



Your comments will be displayed only after manual approval.