CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Colors By HSL Value</title> <style> .color-group{ background: #f4f4fb; display: flex; flex-wrap: wrap; } .single-color{ border-radius: 4px; flex: 40%; display: block; text-align: center; padding-top: 20px; padding-bottom: 20px; margin: 2px; box-sizing: border-box; } </style> </head> <body> <h2>These are some of Colors By HSL Value</h2> <div class="color-group"> <div class="single-color" style="background:hsl(0, 100%, 50%);"> hsl(0, 100%, 50%) </div> <div class="single-color" style="background:hsl(30, 100%, 50%);"> hsl(30, 100%, 50%) </div> <div class="single-color" style="background:hsl(60, 100%, 50%);"> hsl(60, 100%, 50%) </div> <div class="single-color" style="background:hsl(90, 100%, 50%);"> hsl(90, 100%, 50%) </div> <div class="single-color" style="background:hsl(120, 100%, 50%);"> hsl(120, 100%, 50%) </div> <div class="single-color" style="background:hsl(150, 100%, 50%);"> hsl(150, 100%, 50%) </div> <div class="single-color" style="background:hsl(180, 100%, 50%);"> hsl(180, 100%, 50%) </div> <div class="single-color" style="background:hsl(210, 100%, 50%);"> hsl(210, 100%, 50%) </div> <div class="single-color" style="background:hsl(240, 100%, 50%);"> hsl(240, 100%, 50%) </div> <div class="single-color" style="background:hsl(270, 100%, 50%);"> hsl(270, 100%, 50%) </div> <div class="single-color" style="background:hsl(300, 100%, 50%);"> hsl(300, 100%, 50%) </div> <div class="single-color" style="background:hsl(330, 100%, 50%);"> #hsl(330, 100%, 50%) </div> <div class="single-color" style="background:hsl(360, 100%, 50%);"> hsl(360, 100%, 50%) </div> </div> </body> </html>