R code that defines color palettes based on the unique, vibrant culture of Punjab, India.
Rangla Punjab translates to "Colorful Punjab".
And if you ever visit India, Rangla Punjab is a wonderful Punjabi theme village of generations gone by.
In the meantime, enjoy this R package :-)
To install stable CRAN version
install.packages("RanglaPunjab")
To install the latest development version from GitHub
install.packages("devtools")
devtools::install_github("ArtieLadie/RanglaPunjab")
Use RanglaPunjab
to color pie charts.
library(RanglaPunjab)
library(plotrix)
slices <- c(10, 12, 4, 16, 8)
lbls <- c("US", "UK", "Australia", "Germany", "France")
pie3D(slices,labels=lbls, explode=0.1, col=RanglaPunjab("Gidha"), main="Pie Chart of Countries ")
Use CherryPickPalette
to dynamically color bar plots.
library(RanglaPunjab)
counts <- table(mtcars$vs, mtcars$gear)
barplot(counts, main="Car Distribution by Gears and VS",
xlab="Number of Gears", col=CherryPickPalette("Teej","Jutti"),
legend = rownames(counts))
Punjab translates to "Land of Five Rivers".
These rivers refer to the rivers Jhelum, Chenab, Ravi, Sutlej, and Beas.
All are tributaries of the Indus River, the Chenab being the largest.
The five rivers makes Punjab one of the most fertile regions of India.
Punjab's fields are so breath-taking, had to add another palette.
Golden Temple is the oldest place of worship for Sikhs.
And because the Golden Temple looks so different at Amrit Vaylaa (the ambrosial hours before dawn), had to add another palette.
Pindh translates to Village. Villages make up the bedrock of Punjab.
Havelis were grand mansions that bustled with life generations ago.
Many havelis have fallen into disrepair, yet they remain beautiful reminants of an era gone by.
Havelis always had a courtyard. Usually light, airy, with meticulously decorated structures.
Mouthwatering dish of Amritsar, Punjab.
Another mouthwatering dish.
Biryani Rice, the best rice dish in the world, made with the one and only Basmati rice, originating from (you guessed it), Punjab.
Amritsari Lassi is a thick, cooling yogurt-based (almost buttermilk) drink that compliments these heavy meals.
Or, Lassi can be enjoyed on it's own :-)
Lassi can also be a dessert.
Amritsari Pede Wali Lassi is a decadant, cooling drink that includes milk-based pastries.
Certainly gives Hot Cocao and Marshmallows a run for their money!
Kulfi, a savory ice cream (ice cream is an under-statement) treat. Pistachio-based is most popular, yet it can be any flavor.
Sohni Mahiwal - one of the many timeless and tragic lovestories of Punjab.
Heer Ranjha - one of the many timeless and tragic lovestories of Punjab.
Gidha is a lively, festive dance done by ladies to celebrate and express joy!
This music video is a lovely Gidha performance.
So many beautiful colors Gidha dancers wear - had to add another palette!
Teej is generic name for festivals celebrated across India by girls and women.
In Punjab, this festival is known as Teeyan. Teeyan involves women getting together and performing Gidda, married women visiting their families and receiving gifts. It is also traditional for women to ride on swings.
Phulkari is an embroidery technique that means "Flower Work". In olden days women created these colorful shawls for themselves and family, making it a true folk art of Punjab. Now the Government is trying to promote this artform.
Because I love colors so much.
Phulkaris are usually made into Dupattas to be worn with Salwar Kameez (Punjabi ladies's suit), as shown in the reference photo.
Jutti are shoes. Who can live without shoes?
More colorful, the better!
And who cannot love jutti in every conceivable design!
With Paranda, one can never have a bad hair day!