Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>CSS color Property</title> <style> div { display: flex; height: 30px; margin-bottom: 10px; align-items: center; justify-content: center; border: 1px solid #888; } .color-1 { color: pink; } .color-2 { color: #888888; } .color-3 { color: rgb(255, 167, 0, 0.9); } .color-4 { color: hsl(45, 70%, 50%, 0.9); } </style> </head> <body> <div class="color-1">color name: pink</div> <div class="color-2">HEX color code: #888888</div> <div class="color-3">RGBA: rgb(255, 167, 0, 0.9)</div> <div class="color-4">HSLA: hsl(45, 70%, 50%, 0.9)</div> </body> </html>
  Preview Arrow