Skip to main content

A Python library that empowers you to explore and utilize color palettes from various historical civilizations

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

histpal-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

histpal-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file histpal-0.1.1.tar.gz.

File metadata

  • Download URL: histpal-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for histpal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e346f27bba7314084c6cb21ed9581015b2b7963098066ff7db927f4a939704c6
MD5 ed16cdca907677dcce8ccb78ded54b06
BLAKE2b-256 5338e2fcdb370e02103e8c7dc6cce7d89c8a292d529c96ec0b51c6822b6dc868

See more details on using hashes here.

File details

Details for the file histpal-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: histpal-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.1

File hashes

Hashes for histpal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fdd08a622c803c7071cb2c1d8ac00d9479e8d3018ea55cb7363f58baac41d84
MD5 ea46b82a9e86385b52b4d70c9363672e
BLAKE2b-256 b67a27365a3699966a319e893fdc694b0ab2b68ec98240d8c444356ff1e24aaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page