Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of Defining Fallback Color for RGBA</title> <style> p { padding: 20px; /* Fallback for web browsers that doesn't support RGBA */ background:rgb(0, 0, 0); /* RGBa with 0.5 opacity */ background:rgba(0, 0, 0, 0.5); } </style> </head> <body> <p><strong>Warning:</strong> Internet Explorer 8 and earlier version doesn't support the RGBA colors.</p> </body> </html>