Color Swatches

Developer
Size
2,472 Kb
Views
20,240

How do I make an color swatches?

What is a color swatches? How do you make a color swatches? This script and codes were developed by Kdooley on 25 September 2022, Sunday.

Color Swatches Previews

Color Swatches - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Color Swatches</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container">
<div class="wrap"> <div class="green-light"><p>+5%</p></div> <div class="green-brand"><p>0%</p></div> <div class="green-dark"><p>-5%</p></div>
</div>
<div class="wrap"> <div class="blue-light"><p>+5%</p></div> <div class="blue-brand"><p>0%</p></div> <div class="blue-dark"><p>-5%</p></div>
</div>
<br />
<div class="wrap"> <div class="red-light"><p>+5%</p></div> <div class="red-brand"><p>0%</p></div> <div class="red-dark"><p>-5%</p></div>
</div>
<div class="wrap"> <div class="grey-light"><p>+5%</p></div> <div class="grey-brand"><p>0%</p></div> <div class="grey-dark"><p>-5%</p></div>
</div>
</div>
</body>
</html>

Color Swatches - Script Codes CSS Codes

body { font-family: 'Open Sans' Helvetice, san-serif; font-weight: 100;
}
.container { max-width: 1024px; margin-left: auto; margin-right: auto; display: block;
}
.wrap { display: inline-block; margin-right: 5px; margin-left: 5px; margin-top: 25px;
}
.green-light { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #8ed82f;
}
.green-brand { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #7bbf24;
}
.green-dark { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #68a11e;
}
.blue-light { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #1d608e;
}
.blue-brand { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #174c70;
}
.blue-dark { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #113852;
}
.red-light { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #d34b56;
}
.red-brand { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #c9313e;
}
.red-dark { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #ac2a35;
}
.grey-light { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #616b6b;
}
.grey-brand { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #505858;
}
.grey-dark { text-align: center; color: white; height: 50px; width: 150px; display: inline-block; border-radius: 3px; background-color: #3f4545;
}
Color Swatches - Script Codes
Color Swatches - Script Codes
Home Page Home
Developer Kdooley
Username kdooley89
Uploaded September 25, 2022
Rating 3
Size 2,472 Kb
Views 20,240
Do you need developer help for Color Swatches?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Kdooley (kdooley89) Script Codes
Create amazing art & images with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!