added mode sample palettes

This commit is contained in:
2026-08-31 01:14:37 +05:30
parent 9d4e56ffc2
commit 29bd0e3b80
16 changed files with 640 additions and 11 deletions
+84 -11
View File
@@ -163,8 +163,11 @@ python3 quadcol.py 009BFF palette-blue.html
./quadcol 009BFF palette-blue.html
```
<center>
<img src="sample/palette-blue.png" width="50%"/>
Here is the [generated output](sample/palette-blue.html)
[Generated Output](sample/palette-blue.html)
</center>
### Palette Green
@@ -174,7 +177,11 @@ python3 quadcol.py 5AB33B palette-green.html
./quadcol 5AB33B palette-green.html
```
Here is the [generated output](sample/palette-green.html)
<center>
<img src="sample/palette-green.png" width="50%"/>
[Generated Output](sample/palette-green.html)
</center>
### Palette Orange
@@ -184,7 +191,11 @@ python3 quadcol.py AE5F38 palette-orange.html
./quadcol AE5F38 palette-orange.html
```
Here is the [generated output](sample/palette-orange.html)
<center>
<img src="sample/palette-orange.png" width="50%"/>
[Generated Output](sample/palette-orange.html)
</center>
### Palette Slate
@@ -194,17 +205,25 @@ python3 quadcol.py 4C566A palette-slate.html
./quadcol 4C566A palette-slate.html
```
Here is the [generated output](sample/palette-slate.html)
<center>
<img src="sample/palette-slate.png" width="50%"/>
### Palette Terracotta
[Generated Output](sample/palette-slate.html)
</center>
### Palette Crimson
```bash
python3 quadcol.py BC5215 palette-terracotta.html
python3 quadcol.py AF3029 palette-crimson.html
./quadcol BC5215 palette-terracotta.html
./quadcol AF3029 palette-crimson.html
```
Here is the [generated output](sample/palette-terracotta.html)
<center>
<img src="sample/palette-crimson.png" width="50%"/>
[Generated Output](sample/palette-crimson.html)
</center>
### Palette Moss
@@ -214,7 +233,11 @@ python3 quadcol.py 66800B palette-moss.html
./quadcol 66800B palette-moss.html
```
Here is the [generated output](sample/palette-moss.html)
<center>
<img src="sample/palette-moss.png" width="50%"/>
[Generated Output](sample/palette-moss.html)
</center>
### Palette Lavender
@@ -224,7 +247,11 @@ python3 quadcol.py 8A4FFF palette-lavender.html
./quadcol 8A4FFF palette-lavender.html
```
Here is the [generated output](sample/palette-lavender.html)
<center>
<img src="sample/palette-lavender.png" width="50%"/>
[Generated Output](sample/palette-lavender.html)
</center>
### Palette Ocean
@@ -234,4 +261,50 @@ python3 quadcol.py 205EA6 palette-ocean.html
./quadcol 205EA6 palette-ocean.html
```
Here is the [generated output](sample/palette-ocean.html)
<center>
<img src="sample/palette-ocean.png" width="50%"/>
[Generated Output](sample/palette-ocean.html)
</center>
### Palette Terracotta
```bash
python3 quadcol.py BC5215 palette-terracotta.html
./quadcol BC5215 palette-terracotta.html
```
<center>
<img src="sample/palette-terracotta.png" width="50%"/>
[Generated Output](sample/palette-teracotta.html)
</center>
### Palette Orche
```bash
python3 quadcol.py AD8301 palette-orche.html
./quadcol AD8301 palette-orche.html
```
<center>
<img src="sample/palette-orche.png" width="50%"/>
[Generated Output](sample/palette-orche.html)
</center>
### Palette Magenta
```bash
python3 quadcol.py A02F6F palette-magenta.html
./quadcol A02F6F palette-magenta.html
```
<center>
<img src="sample/palette-magenta.png" width="50%"/>
[Generated Output](sample/palette-magenta.html)
</center>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

+139
View File
@@ -0,0 +1,139 @@
<!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 - #AF3029</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">#AF3029</span></h1>
<div class="palettes-container">
<div class="color-item">
<div class="color-pillar" style="background-color: #FFF4F2;"></div>
<div class="color-values">
<div class="hex-value">#FFF4F2</div>
<div class="rgb-value">rgb(255, 244, 242)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #FF8679;"></div>
<div class="color-values">
<div class="hex-value">#FF8679</div>
<div class="rgb-value">rgb(255, 134, 121)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #AF3029;"></div>
<div class="color-values">
<div class="hex-value">#AF3029</div>
<div class="rgb-value">rgb(175, 48, 41)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #5E0003;"></div>
<div class="color-values">
<div class="hex-value">#5E0003</div>
<div class="rgb-value">rgb(94, 0, 3)</div>
</div>
</div>
</div>
<div class="css-code-block">
<pre>:root {
--color1: #FFF4F2; /* lightness: 0.98 */
--color2: #FF8679; /* lightness: 0.75 */
--color3: #AF3029; /* lightness: 0.50 */
--color4: #5E0003; /* lightness: 0.30 */
}</pre>
</div>
</main>
<footer>
created using <b>quadcol</b>
</footer>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

+139
View File
@@ -0,0 +1,139 @@
<!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 - #A02F6F</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">#A02F6F</span></h1>
<div class="palettes-container">
<div class="color-item">
<div class="color-pillar" style="background-color: #FFF3F8;"></div>
<div class="color-values">
<div class="hex-value">#FFF3F8</div>
<div class="rgb-value">rgb(255, 243, 248)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #F77EBC;"></div>
<div class="color-values">
<div class="hex-value">#F77EBC</div>
<div class="rgb-value">rgb(247, 126, 188)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #A02F6F;"></div>
<div class="color-values">
<div class="hex-value">#A02F6F</div>
<div class="rgb-value">rgb(160, 47, 111)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #550036;"></div>
<div class="color-values">
<div class="hex-value">#550036</div>
<div class="rgb-value">rgb(85, 0, 54)</div>
</div>
</div>
</div>
<div class="css-code-block">
<pre>:root {
--color1: #FFF3F8; /* lightness: 0.97 */
--color2: #F77EBC; /* lightness: 0.75 */
--color3: #A02F6F; /* lightness: 0.50 */
--color4: #550036; /* lightness: 0.30 */
}</pre>
</div>
</main>
<footer>
created using <b>quadcol</b>
</footer>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

+139
View File
@@ -0,0 +1,139 @@
<!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 - #205EA6</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">#205EA6</span></h1>
<div class="palettes-container">
<div class="color-item">
<div class="color-pillar" style="background-color: #F1F7FF;"></div>
<div class="color-values">
<div class="hex-value">#F1F7FF</div>
<div class="rgb-value">rgb(241, 247, 255)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #6FAEFC;"></div>
<div class="color-values">
<div class="hex-value">#6FAEFC</div>
<div class="rgb-value">rgb(111, 174, 252)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #205EA6;"></div>
<div class="color-values">
<div class="hex-value">#205EA6</div>
<div class="rgb-value">rgb(32, 94, 166)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #002A59;"></div>
<div class="color-values">
<div class="hex-value">#002A59</div>
<div class="rgb-value">rgb(0, 42, 89)</div>
</div>
</div>
</div>
<div class="css-code-block">
<pre>:root {
--color1: #F1F7FF; /* lightness: 0.97 */
--color2: #6FAEFC; /* lightness: 0.74 */
--color3: #205EA6; /* lightness: 0.48 */
--color4: #002A59; /* lightness: 0.29 */
}</pre>
</div>
</main>
<footer>
created using <b>quadcol</b>
</footer>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

+139
View File
@@ -0,0 +1,139 @@
<!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 - #AD8301</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">#AD8301</span></h1>
<div class="palettes-container">
<div class="color-item">
<div class="color-pillar" style="background-color: #FFF8EA;"></div>
<div class="color-values">
<div class="hex-value">#FFF8EA</div>
<div class="rgb-value">rgb(255, 248, 234)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #E8BD56;"></div>
<div class="color-values">
<div class="hex-value">#E8BD56</div>
<div class="rgb-value">rgb(232, 189, 86)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #AD8301;"></div>
<div class="color-values">
<div class="hex-value">#AD8301</div>
<div class="rgb-value">rgb(173, 131, 1)</div>
</div>
</div>
<div class="color-item">
<div class="color-pillar" style="background-color: #553F00;"></div>
<div class="color-values">
<div class="hex-value">#553F00</div>
<div class="rgb-value">rgb(85, 63, 0)</div>
</div>
</div>
</div>
<div class="css-code-block">
<pre>:root {
--color1: #FFF8EA; /* lightness: 0.98 */
--color2: #E8BD56; /* lightness: 0.82 */
--color3: #AD8301; /* lightness: 0.63 */
--color4: #553F00; /* lightness: 0.38 */
}</pre>
</div>
</main>
<footer>
created using <b>quadcol</b>
</footer>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB