Which of the following specifies the red color with opacity?

5. Which of the following specifies the red color with opacity?

  1. rgba(255, 0, 0, 255)
  2. rgba(255, 255, 255, 0.3)
  3. rgba(0, 0, 255, 0.3)
  4. rgba(255, 0, 0, 0.3)

Answer: D) rgba(255, 0, 0, 0.3)

Explanation:

The RGBA value (rgba(255, 0, 0, 0.3)) specifies the color with opacity.


Comments and Discussions!









Copyright © 2023 www.includehelp.com. All rights reserved.