140 lines
3.0 KiB
HTML
140 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Page description">
|
|
<title>Quadcol - #4C566A</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.palettes-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.color-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.color-pillar {
|
|
width: 130px;
|
|
height: 400px;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.color-values {
|
|
text-align: center;
|
|
font-family: 'Poppins', sans-serif;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.hex-value {
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.rgb-value {
|
|
font-weight: 400;
|
|
color: #666;
|
|
}
|
|
|
|
.css-code-block {
|
|
margin-top: 60px;
|
|
margin-bottom: 40px;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 4px;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.css-code-block pre {
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
font-size: 13px;
|
|
family-family: 'Courier New', monospace;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
margin-top: 80px;
|
|
padding: 20px;
|
|
color: #999;
|
|
font-size: 14px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<!-- Navigation and branding -->
|
|
</header>
|
|
|
|
<main>
|
|
<h1>Base Color <span id="rgbValue">#4C566A</span></h1>
|
|
<div class="palettes-container">
|
|
<div class="color-item">
|
|
<div class="color-pillar" style="background-color: #F2F6FF;"></div>
|
|
<div class="color-values">
|
|
<div class="hex-value">#F2F6FF</div>
|
|
<div class="rgb-value">rgb(242, 246, 255)</div>
|
|
</div>
|
|
</div>
|
|
<div class="color-item">
|
|
<div class="color-pillar" style="background-color: #9BA7BD;"></div>
|
|
<div class="color-values">
|
|
<div class="hex-value">#9BA7BD</div>
|
|
<div class="rgb-value">rgb(155, 167, 189)</div>
|
|
</div>
|
|
</div>
|
|
<div class="color-item">
|
|
<div class="color-pillar" style="background-color: #4C566A;"></div>
|
|
<div class="color-values">
|
|
<div class="hex-value">#4C566A</div>
|
|
<div class="rgb-value">rgb(76, 86, 106)</div>
|
|
</div>
|
|
</div>
|
|
<div class="color-item">
|
|
<div class="color-pillar" style="background-color: #1E2738;"></div>
|
|
<div class="color-values">
|
|
<div class="hex-value">#1E2738</div>
|
|
<div class="rgb-value">rgb(30, 39, 56)</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="css-code-block">
|
|
<pre>:root {
|
|
--color1: #F2F6FF; /* lightness: 0.97 */
|
|
--color2: #9BA7BD; /* lightness: 0.73 */
|
|
--color3: #4C566A; /* lightness: 0.45 */
|
|
--color4: #1E2738; /* lightness: 0.27 */
|
|
}</pre>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
created using <b>quadcol</b>
|
|
</footer>
|
|
|
|
</body>
|
|
</html>
|