CodeLab
Tutorials For Everyone
Run
<!Doctype HTML> <html> <head> <title>Colors By Name</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 HTML Colors</h2> <p>Visit Colors Tutorial for complete list. HTML supports 140 color by name.</p> <div class="color-group"> <div class="single-color" style="background:Crimson;"> Crimson </div> <div class="single-color" style="background:Cyan;"> Cyan </div> <div class="single-color" style="background:DarkBlue;"> DarkBlue </div> <div class="single-color" style="background:DarkOrange;"> DarkOrange </div> <div class="single-color" style="background:DarkOrchid;"> DarkOrchid </div> <div class="single-color" style="background:DeepPink;"> DeepPink </div> <div class="single-color" style="background:DeepSkyBlue;"> DeepSkyBlue </div> <div class="single-color" style="background:FireBrick;"> FireBrick </div> <div class="single-color" style="background:ForestGreen;"> ForestGreen </div> <div class="single-color" style="background:LightSeaGreen;"> LightSeaGreen </div> <div class="single-color" style="background:Magenta;"> Magenta </div> <div class="single-color" style="background:OrangeRed;"> OrangeRed </div> </div> </body> </html>