Skip to main content

Historical Palettes (histpal)

Histpal is a Python library that empowers you to explore and utilize color palettes from various historical civilizations.

The history of human civilization is intricately woven with color. From the vibrant hues adorning cave paintings to the majestic pigments used in monumental architecture, color has served as a powerful tool for storytelling, symbol-making, and artistic expression. As we embark on a captivating exploration of historical palettes, our initial destination is the cradle of civilization itself: Ancient Egypt.

Ancient Egypt: Coloring the Temple of Dendur

Imagine the Temple of Dendur, a majestic sandstone structure from ancient Egypt, not bathed in the stark white of a museum setting, but aglow with the vibrant colors it once possessed. This is precisely the captivating experience offered by The Metropolitan Museum of Art's groundbreaking project: "Coloring the Temple of Dendur."

image

The Met's innovative project employed cutting-edge technology and meticulous research to digitally reconstruct the temple's lost color scheme. By meticulously studying surviving fragments of pigment and analyzing depictions of temples in ancient Egyptian art, experts were able to piece together a comprehensive picture of the temple's original vibrancy.

This project unlocks the secrets of ancient Egyptian colors using modern technology which you could directly import it using histpal library.

If you interested in more detailes about this project, here is a Met Museum Article, Met Museum Journal 53 and The Source Code of The Project.

You also can find an academic presentation about colors used in egyptian arts and it's meaning by Prof. Howie Baum from University of Cincinnati here.

Egyptian Blue

Egyptian Blue (#1034a6 ), dating back to 3250 BCE, is the oldest known synthetic pigment. For centuries, the exact recipe for Egyptian blue remained a captivating mystery. It wasn't until the 20th century, with the aid of advanced scientific techniques, that researchers were able to unravel the secrets of its production. This breakthrough not only shed light on the Egyptians' remarkable scientific understanding but also offered a deeper appreciation for the complex chemistry behind this enduring pigment.

The popularity of Egyptian blue wasn't confined to the Nile Valley. Evidence suggests it was traded throughout the Roman Empire; Its influence can be seen in Roman art and architecture, a testament to the lasting impact of this ancient innovation. Egyptian blue is far more than just a color; it's a portal to the ingenuity, artistry, and scientific prowess of a civilization that continues to captivate us.

Inspiring Palettes

Websites like Coolors.co offer a powerful tool for generating color palettes. By using Coolors.co, we can create unique color palettes inspired by the most remarkable Egyptian monuments. These palettes can then be seamlessly imported using the histpal library, adding a touch of grandeur and historical context to your data visualizations.

image

You can find these generated palettes on coolors.co website.

Documentation

egypal function has two parameters name & number.

egypal(name, n)

name has only 5 possible values.

"dendur" .........for palette of coloring the temple of dendura. (Default)

"tut"..................for Tut Ankh Amun regenerated palette.

"anibus"..........for the god of death anibus palette.

"beetle"...........for the palette of sacrab beelte.

"ankh".............for the regenerated palette of a wooden case for a mirror, formed in the shape of an ankh.

n .....is number of colors returned from the selected palette (Default = 6).

Examples

After installing histpal, here is an example of its default egyptian palette.

import seaborn as sns
from histpal.egypal import *

palette = egypal()

sns.palplot(palette)

Another example showing how to import the first 4 colors from the palette of scarab beetle.

import seaborn as sns
from histpal.egypal import *

palette = egypal(name = "beetle", n = 4)

sns.palplot(palette)

Get started with histpal and bring the rich history of color to your projects!

Credits

-You can find the sources of the images used to generate the palettes here : Tut Ankh Amoun, Anibus, Beetle, Ankh.

-The fascinating project of coloring the temple has been achieved by the efforts of Matt Felsen, Erin Peters, and Maria Paula Saba.

Metadata

Release files for histpal 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for histpal 0.1.1
File Size Uploaded
histpal-0.1.1.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for histpal 0.1.1
File Interpreter ABI Platform
histpal-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / histpal-0.1.1.tar.gz

Download URL histpal-0.1.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e346f27bba7314084c6cb21ed9581015b2b7963098066ff7db927f4a939704c6
BLAKE2b-256 checksum
How to use checksums
5338e2fcdb370e02103e8c7dc6cce7d89c8a292d529c96ec0b51c6822b6dc868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release files / histpal-0.1.1-py3-none-any.whl

Download URL histpal-0.1.1-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fdd08a622c803c7071cb2c1d8ac00d9479e8d3018ea55cb7363f58baac41d84
BLAKE2b-256 checksum
How to use checksums
b67a27365a3699966a319e893fdc694b0ab2b68ec98240d8c444356ff1e24aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page