The Hues of Turner

As Sarah Gottesman notes in A Brief History of Color in Art, Joseph Mallord William Turner was mocked for his his choice of palette. The choice yellow hues prompted critics to claim his his images were "afflicted with jaundice."

The painter preferred a watercolor derived from the urine of mango-fed cows called Indian Yellow, as well as a brighter synthetic Chrome Yellow - a lead-based pigment known to cause delirium.

This article analyzes his paintings an extracts the dominant color.

from haishoku.haishoku import Haishoku
from PIL import Image

1.
Rain, Steam, and Speed - The Great Western Railway

Joseph Mallord William Turner Rain, Steam, and Speed - The Great Western Railway (1844)

rainSteamSpeed = Haishoku.loadHaishoku(Image)
dominantColor = Image.new('RGB', (100, 100), rainSteamSpeed.dominant)
dominantColor.save("/results/rainSteamSpeed.jpg", "JPEG")

2.
The Dogano, San Giorgio, Citella, from the Steps of the Europa

Joseph Mallord William Turner The Dogano, San Giorgio, Citella, from the Steps of the Europa (1842)

theDogano = Haishoku.loadHaishoku(Image)
dominantColor = Image.new('RGB', (100, 100), theDogano.dominant)
dominantColor.save("/results/theDogano.jpg", "JPEG")