Home » 
        MCQs » 
        Advanced CSS MCQs
    
        
    Which of the following specifies the red color with opacity?
    
    
    
    5. Which of the following specifies the red color with opacity?
    
        - rgba(255, 0, 0, 255)
 
        - rgba(255, 255, 255, 0.3)
 
        - rgba(0, 0, 255, 0.3)
 
        - 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.