Toggle navigation
☰
HTML
CSS
Scripting
Database
<!DOCTYPE html> <html> <head> <style> body { background-image: url('/pix/samples/27l.jpg'); background-size: cover; font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 300px; } .hex-box { /* Red at 50% transparency using an 8-digit hex code */ /* #RRGGBBAA */ background-color: #ff000080; padding: 40px; color: white; font-weight: bold; font-size: 20px; border-radius: 10px; text-align: center; } </style> </head> <body> <div class="hex-box"> This background uses an 8-digit hex code (#ff000080). </div> </body> </html>