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, 10%, 50%);"> hsl(0, 10%, 50%) </div> <div class="single-color" style="background:hsl(0, 20%, 50%);"> hsl(0, 20%, 50%) </div> <div class="single-color" style="background:hsl(0, 30%, 50%);"> hsl(0, 30%, 50%) </div> <div class="single-color" style="background:hsl(0, 40%, 50%);"> hsl(0, 40%, 50%) </div> <div class="single-color" style="background:hsl(0, 50%, 50%);"> hsl(0, 50%, 50%) </div> <div class="single-color" style="background:hsl(0, 60%, 50%);"> hsl(0, 60%, 50%) </div> <div class="single-color" style="background:hsl(0, 70%, 50%);"> hsl(0, 70%, 50%) </div> <div class="single-color" style="background:hsl(0, 80%, 50%);"> hsl(0, 80%, 50%) </div> <div class="single-color" style="background:hsl(0, 90%, 50%);"> hsl(0, 90%, 50%) </div> <div class="single-color" style="background:hsl(0, 100%, 50%);"> hsl(0, 100%, 50%) </div> </div> <div class="color-group"> <div class="single-color" style="background:hsl(120, 10%, 50%);"> hsl(120, 10%, 50%) </div> <div class="single-color" style="background:hsl(120, 20%, 50%);"> hs(120, 20%, 50%) </div> <div class="single-color" style="background:hsl(120, 30%, 50%);"> hsl(120, 30%, 50%) </div> <div class="single-color" style="background:hsl(120, 40%, 50%);"> hsl(120, 40%, 50%) </div> <div class="single-color" style="background:hsl(120, 50%, 50%);"> hsl(120, 50%, 50%) </div> <div class="single-color" style="background:hsl(120, 60%, 50%);"> hsl(120, 60%, 50%) </div> <div class="single-color" style="background:hsl(120, 70%, 50%);"> hsl(120, 70%, 50%) </div> <div class="single-color" style="background:hsl(120, 80%, 50%);"> hsl(120, 80%, 50%) </div> <div class="single-color" style="background:hsl(120, 90%, 50%);"> hsl(120, 90%, 50%) </div> <div class="single-color" style="background:hsl(120, 100%, 50%);"> hsl(120, 100%, 50%) </div> </div> <div class="color-group"> <div class="single-color" style="background:hsl(240, 10%, 50%);"> hsl(240, 10%, 50%) </div> <div class="single-color" style="background:hsl(240, 20%, 50%);"> hsl(240, 20%, 50%) </div> <div class="single-color" style="background:hsl(240, 30%, 50%);"> hsl(240, 30%, 50%) </div> <div class="single-color" style="background:hsl(240, 40%, 50%);"> hsl(240, 40%, 50%) </div> <div class="single-color" style="background:hsl(240, 50%, 50%);"> hsl(240, 50%, 50%) </div> <div class="single-color" style="background:hsl(240, 60%, 50%);"> hsl(240, 60%, 50%) </div> <div class="single-color" style="background:hsl(240, 70%, 50%);"> hsl(240, 70%, 50%) </div> <div class="single-color" style="background:hsl(240, 80%, 50%);"> hsl(240, 80%, 50%) </div> <div class="single-color" style="background:hsl(240, 90%, 50%);"> hsl(240, 90%, 50%) </div> <div class="single-color" style="background:hsl(240, 100%, 50%);"> hsl(240, 100%, 50%) </div> </div> </body> </html>