Wednesday, July 22, 2020

Orange chestnuts

I stumbled upon a YouTube video the other day that caught my attention: Color Theory for Noobs. Cute title. 1.8 million views. The intro graphics look cool. Maybe I can learn something about color theory from this video?


Ten seconds in we have the quote: "Hue is is essentially what color the color is." There is a plant growing out of my face. Is this a tautology, or just a circular definition? I am just a bit disappointed. Just to be clear, I watched a bit more of the video, and liked it, but that sentence got stuck in my craw.

I feel obliged here to mention the launch of the ISCC/AIC Colour Literacy Project. I quote one of the objectives of the project:

To identify and address the most basic, current misconceptions and misinformation about colour, while building a bridge between art and science for 21st century colour education.

The quote from the video is problematic because it uses the word color twice, but with two different meanings. I will get into what those two meanings are in a bit. But first I want to pontificate a bit on how we think about color and how we communicate it.

What is the most salient attribute of color?

Many who teach about color start with the notion of hue. The above video from Flow Graphics starts by talking about hue. First example of color teachers leading with hue. That's Exhibit A.

Munsell's three attributes are hue, value, and chroma -- not chroma, value, and hue. That's Exhibit B. The primacy of hue was carried through in the Munsell corporation beyond Munsell's death. F. G Cooper, in Munsell Manual of Color (Munsell Company, 1929) starts out talking about hue. Exhibit C.


M. Luckiesh wrote a book on color about the same time, Color and Its Applications, Van Nostrand, 1927. Here is a quote from his chapter on terminology. Once again, hue is at the start of the list of attributes. Exhibit D.



How about modern educators on color? David Briggs has a great site with real color science stuff. Here is his webpage on the Dimensions of Colour. Note that he lists hue first in the URL, and that hue gets described first. (I should also point out that he is from Australia, so he can spell color with a u without sounding pretentious. When I spell colour with a u, it is because I intend to sound pretentious.) That was exhibit E.

Finally, I come to Exhibit F, which says pretty much what I am trying to say. Stephen Westland has a series of wonderful short videos about real color science. As with David, he is allowed to spell color with a u because he is British. Below is a screen shot from a video he has about how we describe color, which is aptly named How We Describe Colour. His quote which echoes my sentiment that the most prominent attribute of color is hue is this: "the most prominent attribute of colour is hue".


Disclaimer: I have no financial ties to either David Briggs or Stephen Westland. If, however, I happen to wander into a pub that they are in, I would likely accept if either bought me a beer. I expect that after the third or fourth beer, I might be persuaded to reciprocate.

From this, I conclude that hue is of critical importance in the description of color. Well, duh.

How do we define hue

Simple words are the hardest to define. It's like what Satchmo said when asked to define jazz: “If you have to ask what jazz is, you'll never know.” Let's have a look at some definitions of hue.

This is from the Wikipedia entry on hue:

the degree to which a stimulus can be described as similar to or different from stimuli that are described as red, green, blue, and yellow
Attributed to  Mark Fairchild, "Color Appearance Models: CIECAM02 and Beyond". Tutorial slides for IS&T/SID 12th Color Imaging Conference.

Stephen Westland has a similar definition of hue: The hue of a color is whether it is red, yellow, blue, green, etc.

Hmmm... same list of four colors. From the first one, I'm not sure if orange is one of the hues. From the second definition, it might be. 

Here is David Briggs' definition: Hue refers to the circular scale of "pure" or "saturated" colours formed by the colours seen in the spectrum (red, orange, yellow, green, cyan, blue and violet), together with the non-spectral colours like magenta, seen when the two ends of the spectrum are mixed. 

That clears things up a bit. But it still seems that there are a small discrete number of hues. In Briggs' case, there are eight.

But then we have Munsell's hue circle. He listed the pigments and combinations of pigments required to make ten different hues, and further subdivided them into 100 steps of hue. Here is a depiction of 20 steps of hues, based on Munsell. 



I think it would be safe to say that eight distinctions of hue fits with the everyday usage of the word, but that my wife would cringe if I described the color of a blouse as "three-tenths of the way from red to red-purple". So, Munsell's 100 steps of hue are a bit beyond what we normally think. BTW, Madelaine's credentials in this subject matter are unrivalled. She is the world's leading expert in the field of my John the Math Guy's flaws. A very broad field, I might add.

With the Munsell system of 100 hues, we have crossed the line between everyday and scientific usage of the word.

My definition of hue

Before I define hue, I need to define color. I define the word color to be a sensation in the brain which is usually (but not always) initiated by light striking the retina in the back of the eye. Colors can be subdivided into two broad categories: achromatic and chromatic

Achromatic colors are those where the brain perceives a balance between the signals from the three types of cones. Achromatic colors include black, gray, white, and all colors in between. Yes, white, and black are colors, and more specifically, achromatic colors. I don't care what your art teacher said about black being the absence of color.

Chromatic colors are all the rest. Chromatic colors can be systematically subdivided into groupings according to hue. Various hue groups and methods for determining the group of a color have been developed. In one of the simpler cases, there are eight hue groups: red, orange, yellow, green, cyan, blue, violet, and magenta. All chromatic colors belong in one of these eight groups. The boundaries of these hue groupings are not precisely defined, and the method of assigning a color such as peach or mauve or olive to it's appropriate hue group is by eye.

In a system of color developed by Albert Munsell, there are ten hue groupings: R, YR, Y, GY, G, BG, B, PB, P, and RP. Each of these ten groupings is subdivided into ten divisions. For example, the hue group for red includes 1R (which is on the purplish side), 5R (which is pure red), and 10R (which is on the orange side). Assigning a color to a hue group is still done by eye, but this is facilitated by having a color atlas with a few thousand colors to match against. Each of these colors has a hue identifier.

Then there's CIELAB. CIELAB values of a color are determined by measuring the light reflected from a  surface (or emitted by a light source) and using math to translate these into various quantities, including hue angle. Hue angle is in degrees, specifying a location on the hue wheel. For most practical purposes,  the resolution of hue angle could be taken to be one degree, although finer divisions are certainly measurable. A benefit to this hue system is that it can be measured, thus eliminating the subjective judgment of a person.

A quirk

Summarizing, we have identified hue as the most salient characteristic of a color (at least, of a chromatic color), and we have seen that this concept is baked into both Munsell color space and CIELAB.

Now we come to a quirk in the road.

I recall looking at a particularly colorful sunset when I was perhaps 5 years old. I looked at the gradations of color and I said to my sister (who would have been about 8) that pink is just light purple. She quickly corrected me by saying that pink is light red. I reckon that, had my sister not chastised me too harshly, and at such a young age, I would have likely become a world-renowned color scientist by third or maybe fourth grade. As it is, I didn't even think about color again until I was in my mid 30s. Let that be a warning to all older sisters who criticize their younger brothers.

I checked a few dictionaries to see how they define pink. There is a consensus that pink is somewhere between red and white, just like my sister told me. But, I have a quick test. The blocks in the image below are various hues that might be considered pink. Which one do you think is closest to pink? 

Will the real pink please stand up?

My vote goes for D. If you pick something else, then it could be that your computer screen is different from mine. Or maybe the software on your computer is doing something different in rendering the colors. Or it could be that your eyes are different from mine. Or then again, maybe I'm just dumb? Ask my wife. She's the authority.

Now for the surprise. Block B is the one that is actually between red and white, at least according to RGB values. That really doesn't look like pink to me! I am going to guess that my wife would call it dusty rose.

[Comment from my wife: "It doesn't look dusty rose. It looks more like light red, but not pink." I appreciate her corrections.]

At the end of 2016, I posted a blog that delineated regions of various colors in CIELAB space. The plot below is from that blog post. The hue angle for red lies between a hue angle of 27 and 37 degrees. Pink straddles a hue of 0 degrees, -23 to +21 degrees. Pink does not have the same hue as red.

Mauveless chart of color names

These two things suggest that my sister and the common dictionary definition were wrong. Pink is not somewhere between white and red, but rather, is shifted in hue more toward purple. If I had the vocabulary when I was 5, I would have correctly said that pink is light magenta. But alas, the color name magenta was yet been invented when I was 5. The word magenta as a color name wasn't coined until around 1860.

There is a bit of a dichotomy. From the standpoint of language, pink belongs in the red hue group. On the other hand, my RGB display and CIELAB both suggest that pink and magenta belong in the same hue group.

A second quirk

Brown is a second quirk in the road. 

I just asked my wife if she would be comfortable if I said that a chestnut is orange in hue. I won't share her answer exactly, but suffice it to say that once you remove her copious sarcastic jabs at me, the answer boils down to "no". Chestnuts are not orange. Since she is the authority, I'm gonna say that linguistically speaking, chestnuts are not orange, although I could conceive of a nice orange-chestnut glaze on seared scallops. Conceptually, brown is just not a shade of orange.

But Munsell would beg to differ, as shown in the complicated but very clever image below. At the right, we have a page from the The Digital Munsell, thanks to Gernot Hoffman. (And I mean that. Thanks, Gernot!) The page shown is the 5YR page, which is Munsell's quintessential yellow-red, i.e. orange. At the right we have pictures from my shopping cart with little squares showing matches to four of the the Munsell 5YR colors.

Demonstration that chestnuts are orange in hue
(Once again, thanks to Gernot Hoffman for making this possible)

This isn't just some silly notion that Munsell had during a psychedelic acid trip. According to my mauveless chart (above) showing the locations of color names in CIELAB, brown and orange occupy the same hue angle. According to that blog post, orange occupies the region between 57 and 67 degrees, while brown straddles that, going from 55 to 76 degrees. Brown is darker than orange, and less saturated, but, at least according to CIELAB and Munsell, they have basically the same hue angle.

A third quirk

I have a third quirkiness to share about how we classify the colors light blue versus dark blue. I think we can all agree that light blue and dark blue are the same hue? Linguistically, it makes sense, right? But I have a hunch and a little evidence that this might not be the case.

When I look at the rainbow below, I see dark blue to the left of light blue. If you buy into that perception, and you buy into the idea that hue is kinda equated to a position in the rainbow, then the conclusion is that light blue has a slightly greener hue than dark blue.


Linguistically, that's just silly talk. Both light blue and dark blue should have a hue of blue. But my logic says different. On the off chance that there is something wrong with my logic, I will test the hypothesis by means of the most sophisticated psychophysical method available today. I asked a few hundred of my closest friends for their judgment using SurveyMonkey.

Respondents were asked to pick the best example of light blue from this image:


And then they were asked to pick the best example of dark blue from this image:


My survey didn't show the number below each color patch. These are the HSL numbers for that color. HSL stands for hue, sauration, and lightness. These values are computed directly from the RGB values, and roughly correlate to CIELAB hue angle, chroma, and L*. The number in the first row is the hue. You can see that the colors are arranged in hue order in steps of 5.

I got 40 people to respond to the survey before SurveyMonkey told me that I needed to pay them money to get more responses. Luckily, there were enough responses for me to make a meaningful statistical judgment. Statistics tells me that the HSL hue values for light blue and dark blue are different, and are different in the direction that I predicted. The average for light blue is #5, which has a hue of 40. The average response for dark blue was #E with a hue of 155. The average of the differences between respondents answers was 16. This corresponds to about 23 degrees of CIELAB hue angle, which is practically significant. The z score of the difference was +8.12, which is very statistically significant.

I see several possibilities here:

1. The test was biased toward the middle, so naturally the answers gravitated that way. Essentially I was forcing the middle card. Poor choice on my part.

2. HSL doesn't accurately reflect the way the cones in our eyes work in terms of hue.

3.  Light blue and dark blue have a different hue in terms of our perception, which happens at a higher level, that is, somewhere in that tangled mess of neurons.

I honestly think that any of these could be the explanation for my very scientific SurveyMonkey experiment. It's likely that all of them come into play, but I don't know which effect is the largest. On the other hand, these results do not disprove my thesis.

[Subtle point: There are multiple weak points in this survey, not the least of which are the facts that the computer monitors that people used were likely not calibrated, and that the response of people's eyes are somewhat different. But these two factors are mitigated by the fact that I looked at the difference of the two hue values. If a given monitor displays light blue a little funky, then (maybe) it will display dark blue in a similar funky manner.]  

What gives?

I discussed three quirks in our perception of hue. 

1. Pink and red do not have the same hue. Pink and magenta do.

2. Brown and orange have the same hue. Brown is dark orange.

3. Light blue and dark blue perhaps have a different hue.

It took me a while to puzzle this through, but I think I got it. Here are the basic colors: white, black, gray, red, orange, yellow, green, blue, purple, pink, and brown. 


There are two other colors that are eager to join the list of basic colors. Quoting a previous post of mine: "Some languages (namely Japanese, Russian, and Italian) have further broken the blue category into sky blue and navy blue."

When presented with a chromatic color, we subconsciously categorize it. What buckets does the subconscious have for this categorization? The eleven basic colors. Hence the confusion. While we would like to think that the brain has this neat and tidy scheme for classifying colors according to the scientific notion of hue angle, the brain actually uses the basic colors as the buckets. When my eye sees a color close to brown, the brain classifies it as brown, rather than "a color with the same hue as orange".

The fact that most of the chromatic basic colors are also rainbow colors just confuses those of us who try to tease out how the brain works.

Tuesday, May 19, 2020

Is metamerism a big issue in print? (Part 2)

This is part 2 in a series of blog posts that recap my presentation on metamerism at Color 20. If you were actually looking for the first part, the part where I set up the characters and give the back story, then you should go to the first part.

Ahhh... so you decided to tough this blog post out? Well, good on ya, mate!

Today's post is about the intersection of expanded gamut, spot color replacement, and metamerism. I suspect that this might result in another standing-room-only blog post.

Is metamerism a big deal when you are doing spot color replacement?

Expanded gamut

In kindergarten, I was taught the lie that red, yellow, and blue were the primary colors. I will never forgive my kindergarten teacher for that. That really messed me up when I found out that the real primaries for ink were cyan, magenta, and yellow. There is a big long story about that, but for now, I will just pass the explanation along to Stephen Westland and Stephen Westland and David Briggs and David Briggs. Good articles, all of them.

And then I got even more confused when people kept talking about black ink. Why do you need black ink, if you can get all the color with just CMY? (I mean, I thought the whole idea of primaries is to give you all possible colors?) Well, there are many reasons for using black, but one of them is that you can't get all the colors with just CMY. One notable color that you can't get is black.

And guess what? Even with CMY and K, you can't get all the colors. If you want more colors, you need to add more primaries. Expanded gamut printing uses color beyond CMYK, typically orange, green, and violet, to get more of the entire range of visible colors.

(Interesting fact: Generally we would call this CMYKOGV printing, but that's a really silly order for the letters. Maybe it should be CVMOYGK?)

Spot color replacement

I know that some of you are thinking that spot color replacement is what you do to get your Dalmatian ready for St. Pat's Day. Nope. Good guess though. (To get your Dalmatian ready for St. Pat's Day, I would recommend giving him a long reddish-brown, silky coat.)

My dog Spot is not looking excited about the St. Patty's Day festivities

Historically, there has been a distinction made between process colors and spot colors. Process colors are CMYK and are used in packaging for image content. Each pixel of the printed image gets some build of those four inks. Spot colors are specialty inks that are mixed to the desired color and are printed in, well, certain spots of the printed package. The spot color inks don't usually get overprinted with other inks, and are generally not used in imagery.

This is not an endorsement. They do go well with a wasabi mustard, though.

The package above uses (maybe) a total of eight inks -- cyan, magenta, yellow, and black for the image and spot colors of dark blue, light blue, black, and green. (And there is probably a white to cover the metallic (mylar) surface. White is not referred to as a spot color, but rather a flood coat. I think this is an egregious abuse of the English language.) Each of these inks gets its own print unit.

The next print run will likely require a different set of spot colors. This leads to an expense, since the old spot color inks needs to be cleaned out between print runs. There would be an economic advantage to printing those spot color with an equivalent combination of process color inks. But if we augment those process inks with a few extra colors of inks, typically orange or red, green, and violet or blue, then nearly all spot colors can be emulated with this augmented set of inks. No need to clean up after each print run!

So, there is an economic advantage, but it comes with a hidden cost: metamerism. If one package printed with CMYK+spots should land on the shelf next to one printed with CMYKOGV, then the best we can hope for is a metameric match. Perhaps there is an excellent match under D50, but can you find a store that has good D50 lighting?

That leads us to the question of the day....

Is the degree of metamerism enough to worry about?

Disclaimer #1: I suspect that many of the people who have implemented spot color replacement have gone through the exercise of evaluating the degree of metamerism for the spot colors that are important to them. I don't intend to minimize this or necessarily replace this worthwhile test. My goal here is to help set expectations in general.

Disclaimer #2: If you are bringing a new design into production, metamerism probably isn't an issue for you, beyond perhaps needing to explain to the brand owner why the color of the package didn't match the Pantone book in the designer's living room. If you are switching production of an existing pretzel pouch to spot color replacement, and expect a short period of co-mingling on the store shelves, I leave it to you to decide on the importance of the transition period and weigh the cost of that against savings.

Those who read the previous blog will recall this image of a set of metameric sextuplets, all of which are perfect matches to my version of Pantone 147C under D50/2.

In the delivery room, with D50 lighting, these appeared to be identical sextuplets

The spectra look quite different, but when it comes down to it, is there a large metameric difference?

The following table is stolen from my Color 20 presentation. It shows the CIEDE2000 color difference between Pantone 147C and the emulated version under D65/10. This should give an appreciation for the magnitude of metamerism. The spectra look a lot different, but they still match under one illuminant, and are not a bad match under another.


Not so bad? John shrugs his shoulders. I would be cautious about trying to read much into this table. There are many combinations of CMYKOGV that could yield a given color. The software that I wrote to create the matches did not put a whole lot of thought into which one of those combinations to use. I don't claim that it yielded builds similar to any commercial spot color replacement software, Mileage may vary. This package sold by weight, not volume. Contents may have settled during shipping. Blah blah blah.

Here is another set of metameric sextuplets from my database. In this one, for whatever reason, the spectra are all a reasonably good match. We see some larger disparities around 400 nm, but these are less significant to the eye.


And another set that appear to vary about as much as the first one.


Here are the color differences.


What to make of this table? Once again John shrugs. There are bigger numbers and smaller numbers. The intent here is not to focus on one specific case, but rather to look at the data in aggregate. The database has plenty of aggregate to offer, with 3,604 metameric spectra. Here is the big picture.

I love cumulative probability density functions of color difference data

How to interpret this? John shrugs his shoulders and makes woogly eyes. I have blogged before about this sort of Cumulative Probability Density Function plot, and again here. I show below one very reasonable way to look at this data. The plot can be used to determine the percentage of color differences that are below a certain point.


I arbitrarily set 2.0 Î”E00 as a tolerance. This is a typical tolerance for print under D50/2. From that alone, it seems like a reasonable starting point. But, one may argue that this is a secondary requirement in the eyes of the print buyer. (I want it to match under D50/2, and could you also make sure the match isn't horrible under D65/10?) So maybe this is too wide?

Arguing the other side, there are two contributors that we want to consider. The first is the normal process variation, for which we may set a tolerance of 2.0 Î”E00. The second contributor is the color difference due to metamerism. These two contributors combine in the final analysis. If we allow for 2.0 Î”E00tolerance of normal process variation under D50/2, and we allow for a 2.0 Î”E00 color relative change due to metamerism, then we could see something like 4.0 Î”E00 color change when they happen together.

Now for the math stuff. They two sources of variation could cancel each other out. IT could be that by fluke, the sample is 2.0 Î”E00 off from the target under D50/2, but matches perfectly under D65/10. Generally speaking us folks in the stats world use "sum in quadrature" to describe how tolerances stack up on each other. A 2.0 DE00 variation and a 2.0 Î”E00 variation (statistically speaking) add up to sqrt ((2.0)^2 + (2.0)^2) = about 2.8 Î”E00.

So, is this a big issue for spot color replacement?

Based on this analysis, I can say this: 

If you replace a traditional spot color with another set of pigments,
and you get a perfect match under D50/2,
then you have an 8 in 9 chance of having an acceptable match under D65/10.

I make the assumption here that the normal process variation is less than 2.0 Î”E00, and that a 3.0 Î”E00 variation under D65/10 is considered acceptable. In the next blog post in this series, I will look at other illuminants. 

Tolerance for metameric index

I had a question from Rachel after my previous post regarding reasonable tolerances for the metameric index. I pause to define metameric index in this context. The graph and table I show above fit one definition of metameric index: the color difference that you see between two perfect metamers under one illuminant when you view under a second illuminant.

From my graph, I can say that 2.0 Î”E00 is a reasonable tolerance for metameric index for D65/10. Eight of nine times you can hit that. If you pay a bit of attention to metamerism when you decide on how to render an EG color, you can do better, In the next blog post in this series, I will look at other illuminants. Hint: the change from D50/2 to D65/10 is not huge...

I hope that this leads to some good argument among the folks who like to argue about standards.

Wednesday, May 13, 2020

Is metamerism a big issue in print? (Part 1)

In January 2020, I spoke that the Printing Industry of America Color Conference. This colorful event is sponsored every year by the PIA in gorgeous San Diego where the weather is always gorgeous. Next year, I understand that the colorful event that is always in San Diego will occur in gorgeous La Jolla, and it will be hosted by the as-yet unnamed organization that is the combination of PIA and SGIA.

The talk I delivered to a standing-room-only crowd was on metamerism. Based on the fact that one or two of them looked up from the cell phones a few times, I would say that the talk went over quite well. This series of blog posts will recap those exciting moments.

Metamerism - when objects are the same color under one light,
but differ under another 

Now, at the conference I didn't just state my position on whether I was fer metamerism or agin it... I went right up to it and measured it. I considered several practical issues and sought to determine just how big an issue metamerism really is. And since you are part of the elite group that is reading this blog post, you have the opportunity to read a summary of my presentation.

In Part 1 of this series of blog posts, I describe the metameric database that I used to quantify metamerism. The blog post you are currently reading, by the way, is Part 1. So, when I finally get done with this introduction, I will talk about the metameric database.

In Part 2, I use this database to answer one practical question: If I switch from printing spot colors with pre-formulated inks to printing them with expanded gamut builds of CMYKOGV, will metamerism deliver a sucker punch to me in the gut?

In Part 3, I look at the magnitude of metamerism that I see when I go from D50 to a variety of popular illuminants that were standardized in CIE 15.2, and have been used for years. This leads us to a surprising conclusion about how well the Color Rendering Index works. Stay tuned!

After Part 3, I move on to Part 4. In this section I swap out the standard illuminants for a plethora of white LED illuminants. (Or is it a plethorum? I dunno.) I measured a whole pile of white LEDs and answered a pressing question: do white LEDs pose a big problem for us when it comes to metamerism?

Finally, and rather unexpectedly, I present Part 5 of these series of blog posts. In this blog post I find out how serious a problem viewing booth metamerism is. What is viewing booth metamerism? Get this: the D50 in your viewing booth is merely an approximation to the D50 in your spectro. As a result, your spectro may disagree with your eye as to whether a proof and press sheet match. Should you lie awake at night worrying about this?!?!?

Metameric Encyclopedia for the Graphic Arts

I decided that I would need a database of metameric pairs in order answer the questions that I posed. Now, John the Busy Guy Who Doesn't Have Time for Frivolous Tasks would probably have been too busy to take the time for a frivolous task like creating more than a handful of metameric pairs. But, the presentation at Color 20 was given by John the Math Guy, and I am never too busy for any sort of frivolity. I heard a rumor that there might be a world record waiting to be broken, so I took it upon myself to make a collection of metameric spectra that would make an acid trip with Jim Morrison seem like a Whiter Shade of Pale.

My metameric database (on the left) compared with the competitor's (on the right)

I started with spectral measurements of a Pantone book. These are real spectral from ink formulated as they might be formulated in any printing plant in the world. Then I brought in a characterization data set from flexographic printing. For each of the Pantone colors, I searched through the flexo data to find a close CIELAB match. If I found a flexo color that was reasonably close, I mathematically adjusted it so that it was a perfect match under D50/2.

(For the non-printing-geeks out there... Characterization data is a set of measurements of printing with a zillion or so combinations of the inks in a press. On a four-color press, the characterization data typically includes about 1,600 patches. For expanded gamut printing, it might be several times that many.)

(For the geeks out there... the mathematical adjustment was done through principal components. I determined the singular value decomposition of the full flexo data set and used the first three vectors as a basis. I then found the linear combination of the basis vectors to add to the actual spectrum so that the adjusted flexo spectrum was a perfect metameric match. I discarded any spectra with values outside the range of real printing. You know, simple obvious stuff.)

(For the those concerned about social justice and stuff out there... No spectra were hurt in the filming of this blog post or the presentation. The spectra that I arrived at were realistic and perfect metameric matches.)

I mentioned flexo. A bit more detail there. This is data that I received from Liam O'Hara, who has been a friend for many years is now a colleague of mine at Clemson. The data was an expanded gamut characterization data set. So I was investigating spot color replacement with expanded gamut. But I saw the opportunity to have even more fun with the data. I broke it into two subsets; one subset had only CMYK, and the other subset had at least one of the extraquaternary inks (that is, orange, green, or violet).

Thus, for each (or I should say, most) of the Pantone colors, I had

1) The spectrum of how a flexo press with a particular CMYK inkset might render a perfect colorimetric match to that Pantone color, and

2) The spectrum of how a flexo press with a particular CMYKOGV inkset might render a perfect colorimetric match to that Pantone color, with the caveat that the build must include at least one of O, G, and V. 

Some Pantone color were out of gamut, so they did not make it into MEGA. Some were in gamut for the expanded gamut printing, so a metameric pair was added to the database. And for some of the Pantone colors, I had not just a pair of metamers, but a set of metameric triplets! How awesome is that!?!?!

Enter the Indigo 7900

Did I stop there? Of course not. I was going for the world record!

I just happened to have data from another friend, one who happens to not be a colleague of mine at Clemson, since he doesn't teach at Clemson. He actually teaches at Ryerson, so we work at different schools together. Abhay Sharma recently pitted one piece of expanded gamut software against another in a study of the capabilities of expanded gamut software. When Abhay wasn't looking, I grabbed a copy of the expanded gamut characterization data for an Indigo 7900. Please don't tell him I have that data.

And I went through the same procedure with this data so that I potentially had two additional metameric matches for each Pantone color. We're talking the birth of metameric quintuplets! (I hope everyone is as excited as I am.)

And one more!

No. I didn't stop there! I had one more database up my sleeve. But first a little background.

Let's face it. The Pantone Formulation Guide has a few problems. The first problem, which is obvious to anyone who has casually looked through the book is the haphazard ordering and numbering. Below, I show seven pages from the swatchbook. The first and the fourth start with 256 and 263 at the top. The pages with 2563 and 2567 have been shoehorned in between. These four pages are consecutive. Much later in the book, we find consecutive pages 511, 5115, and 518, which are in more or less the same color family. In between, we have a bunch of blues and greens and yellows and grays. Just for convenience, the colors in the latter set are upside-down. The darkest, richest colors are at the top instead of the bottom.


Just to be clear, I'm not blaming Pantone for this. The hodge-podge numbering system was inevitable. The books have grown through the ages and there has been an understandable unwillingness to change the numbers on existing colors. 

Another issue with the swatch book is that the pages, when fanned out, don't have a nice, smooth flow. That is aesthetically unnerving, but from a practical sense it means that the colors are not equally spaced perceptually. And it makes you wonder whether there are holes -- colors that have been missed entirely.

I have blogged previously about how a swatch book could be ordered more uniformly. Albert Munsell created such a book in the early 1900's. Much more recently, Phil Kenyon wrote some software that organizes paint company swatch books. So it can be done. (Well... you have to somehow map 3D color space into two dimensions...)

Yet another problem with the Pantone book is that the recipes in the book don't work. Paula Gurney (recently retired from Ink Systems) explained to me that this is because the formulators of the book didn't impose a standard ink film thickness for all the recipes.

And then there's the base ink reflex blue. Printers don't like reflex blue. It takes longer to dry than the other inks, and it has this property called bronzing. It takes on a coppery tone viewed at a shallow angle. It would be good to not use that as one of the base inks.

Much to their credit, Pantone tackled all these problems and introduced a very good solution in 2007. It was called the GOE System. It was beautiful. You may have noticed the use of the past-tense in both the previous sentences? Yeah. It was a great idea, so naturally it didn't take off in the market. It was discontinued in 2013.

But I managed to find a GOE book at a garage sale and chased my spectrophotometer after it. So, I have a file on my computer with spectral measurements of a GOE book. I applied the same technique to this data. This added another set of plausible metameric matches to my database.

MEGA database

I show below a set of metameric sextuplets from the database. These six spectra have exactly the same CIELAB values under D50/2. Since the spectra are all different, one could expect that the CIELAB values would not match under a different illuminant.

Identical sextuplets, under D50/2

I don't know how many of you have spent an evening with a set of metameric twins, but I gotta tell you, a night on the town with metameric sextuplets is a bucket list event!

As an aside, some of you may have been wondering if Pantone 147 (in the diagram above) is the ugliest color in the world. It's close, but not quite. That honor goes to Pantone 448. There was actual research into this. The idea was to find a color that would best "unsell" a product. The product in mind? Cigarettes, in Australia.

And speaking of world records, how many metamers are in my database? An awesome 3,604. Are you listening Guinness? The old record might have been a few dozen, so that's a record that will stand for a while. At least until I announce Metameric Encyclopedia for the Graphic Arts II.



This is an ongoing effort of mine. Over the next few blogs, I will describe some of the uses that I have put this database to. Any other ideas? Contact me!

Wednesday, May 6, 2020

An Easter egg in the film "Die Another Day"

Ok... so let me make this clear from the start. I am not a film buff, nor do I claim any more than superficial expertise in film. If you want the honest truth (as opposed to my usual dishonest truth), I will likely need to look up the title of this movie again before I finish blogging about it.

Another thing to clear up at the start -- this is not my usual blog post subject matter. Normally I go on ad nauseum about color and math and physics and other boring stuff. Not today. Prepare to not learn any science.

For those who are unfamiliar with the term "Easter egg" when applied to film, this is something innocuous put in a film just as a joke. If you would like an example, I would suggest having a look at the scene in the movie Airplane that starts at 0:00:00, and ends at 1:25:00 in the sequel Airplane 2.

The topic of this blog post is an Easter egg in the James Bond movie "Die Another Day".

To set the time stamp on the movie, the Easter egg occurs between when a) Bond uses the secret code word delectados to elicit the help of some guy, and when b) Halle Barry makes a breathtaking exit from the ocean.


An egregious image of Halle Barry being viewed through Bond's binoculars

If I were a true film aficionado, I would point out the similarity of the outfit worn by Barry to that worn by Ursula Andress in her coming out of the water scene from an earlier Bond flick, Dr. No. I might also take this time to comment on the cinematography in those two scenes, comparing it to Bo Derek running on the beach in the movie 10. Blah blah blah ... Daryl Hannah in Splash ... Phoebe Cates' pool scene... blah blah A Fish Called Wanda ... blah blah ... the primeval attraction ... subliminal reference back to one million years of evolution at the water side ... Descent of Woman...

But I can't even recall the scene from A Fish where Jamie Lee Curtis came out of a pool wearing a bikini. So I will skip all that.

Getting back to the Easter egg in Die Another Day... In the unforgettable scene just before Halle Barry emerges from the water, James borrows a pair of binoculars so he can pose as a bird watcher and get a look at the island. At this point, I had to pause the film to clean up the martini that I snorted out my nose and to explain to my wife what tickled my funny bone. I'll explain it to you as well, but first I rewind the film a bit.



I remembered that while he was in the delectado guy's office, Bond had idly picked up a book to look at, just before he picked up the pair of binoculars. I went back to see what the book was. As I suspected, it was a bird guide. I had a hunch about the author of this book. I was hoping to see the name of the author of the book, but I couldn't make it out. I think they did that on purpose to hide the Easter egg for all but the most diligent of Easter egg hunters.

But since I had already guessed who the author was, I knew what to google for. Here is a better shot of the book Birds of the West Indies:

You can probably just make out the author's name: James Bond! Yes. James Bond picked up a book by James Bond.

Now for the reveal. The real James Bond was an ornithologist. Ian Fleming (who wrote the books about James Bond the spy) was an avid bird-watcher who lived in Jamaica, so he knew of the bird book. Fleming was looking for a name for his character and felt that the name James Bond had just the right sound. Short and masculine. That's why I laughed when James Bond introduced himself to Halle Barry's character as an ornithologist. And since I knew where Fleming got the name from, I knew to look back to see if the book was an inside joke hidden in the previous scene.

The real James Bond
By Jerry Freilich - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=9724104

When Ian Fleming was contacted by the wife of the ornithologist about the theft of her husband's name, Fleming gave permission for the real James Bond to use the name Ian Fleming. "Perhaps one day he will discover some particularly horrible species of bird which he would like to christen in an insulting fashion."

Thanks to my buddy Mike for recommending the movie.

Tuesday, December 24, 2019

What is the most accurate color wheel?

I received a question the other day. This happens to me all the time. Just a thought here... Maybe I would get fewer questions if I pretended to be ignorant rather than all this pretending to be an expert? I will have to talk with an image consultant about that.

Here is the latest example of things that people want to know.

I have a question for you. I understand that there are different color wheels for different subjects. ... I haven't noticed before...there seems to be two "main" color wheels, but which one is the most accurate?

With the wheels that have 12 colors there seems to be two that come up - one with a red-orange and no magenta, or one with a magenta and no red-orange.

Which one is more accurate? Or are they both accurate but for different reasons?

Thoughts?

Ashley

I have a lot to say on this topic -- enough that I will break it up into two blog posts. In this blog post, I will look at various color wheels, with a eye toward the underlying theory. In the subsequent blog post, I will look at the more general question of the utility of color wheels in general.

Red, blue, and yellow primaries

Here is a color wheel that does not have magenta. This beautiful little color wheel with 72 spokes dates back to a book by Michel Eugene Chevreul in 1839. He was a chemist involved in the dyeing of carpet. His work on color perception came out of trying to understand why dyeing did not always turn out as one expected. This color wheel was his first step in understanding color.


This is kinda pretty, but the left-hand side of this color wheel is a bit dark for my taste. It could be that the colors faded -- after all, this book was made in 1839 afterall. Or it could be that the creation of the color plates suffered from the fact that a good magenta pigment wasn't invented until 1858.

The image below (on the left) is a black and white version of Chevreul's color wheel, with color words for each of the 12 basic colors. Each of these 12 colors are subdivided into 6 steps to make a total of 72 colors in the wheel. At the right, I show my colorized interpretation.


I drew a little triangle inside my rendition to make a point. The colors red, blue, and yellow are all explicitly called out, and are conspicuously 120 degrees apart. The Chevreul color circle is based on the artists' primaries, red, blue, and yellow.

This color wheel satisfies Ashley's first criteria: "one with a red-orange and no magenta". RO is red-orange, and VR (violet-red) appears maybe somewhere around where magenta might be. Perhaps if the color name magenta existed at this time, it may have been incorporated into the color wheel, but I haven't had the opportunity to query M. Chevreul on the topic.

Red, green, blue primaries

My computer monitor doesn't use the artist's primaries. For some silly reason, it uses red, green, and blue. (Note to self: I need to contact those people who design computer monitors and televisions and screens for cell phones and tablets. They need to learn about the artist's primaries, because clearly that would be a much better way for them to encode color.)

I did a little playing in PowerPoint (my graphics design program of choice) and came up with my own  twelve step program... err, twelve step color wheel. I hope that everyone reading this takes a moment to step back and say "ohhhhhhh...." in appreciation of my epic artistic skills.

The Seymourian twelve-step RGB color wheel

For those interested in the details, the red, green, and blue anchor points are (255, 0, 0), (0, 255, 0), and (0, 0, 255). The halfway points between them are yellow (255, 255, 0), cyan (0, 255, 255), and magenta (255, 0, 255). I filled in the points between using HSL coordinates. The hue of HSL goes through steps of 21.3333 from 0 to 235.

This color wheel fits Ashley's second criteria: "one with a magenta and no red-orange". The magenta is at the very bottom, and there is red, and there is orange, but no steps in between.

Cyan, magenta, and yellow primaries

I have a little bonus for those involved in my twelve step program: a color wheel that is specially designed for anyone involved in printing. Here we see that the basic colors are cyan, magenta, and yellow. Please note carefully that the cyan-magenta-yellow color wheel bears no resemblance at all to the red-green-blue color wheel. None whatsoever. Completely different.

The Seymourian twelve-step RGB color wheel

That last line was just a tiny bit of sarcasm. I said that as a way to highlight the fact that these really are the same color wheel. Both are based on RGB color theory, which is a simplification of scientific color theory. This is a fascinating and illuminating topic, and one which is worth a whole blog post to itself.

Oh... I should mention one thing here. Cyan, magenta, and yellow don't do so well at getting all colors. Early printers found it was a good idea to add black. Oh yeah, one more thing... When you print magenta over cyan, you don't really get blue. It's usually more of a purple. And when you print yellow over magenta, it's not a good red. It's a little too orange.

As a result... lately there has been a lot of kerfuffle about expanded gamut printing, where you print with CMYK, but then add in orange, green, and violet inks to extend the range of colors that you can get. Or sometimes you use red instead of orange, or blue instead of violet.

The artists' primaries

Allow me for the moment to revisit the concept of artists' primaries on which the Chevreul color wheel is based. I was taught in kindergarten that:

1) Red, blue, and yellow are the primary colors.
2) You can make all the colors by mixing appropriate amounts of these three primaries.
3) Red plus blue is purple. Red plus yellow is orange. Blue plus yellow is green.

The first is more of a definition than anything that you can test. But the second and third are testable. The second is hard to test, but I tested the third one during lab period in kindergarten. An actual image of the results of my experiments has not survived, but a rough approximation is shown below.

Artists conception of the artists' color wheel

I recall presenting my disappointing results to Mrs. Reidhouse, who was the main lecturer in my kindergarten class. I also vividly recall trying to explain to her that the lack of saturation in the pairwise mixtures was predictable using the Kubelka-Munk equation. But I don't recall her offering a cogent counter argument in support of the artists' primaries theory of color. I do recall being told that it was nap time, though.  

I was trying to articulate to her a basic postulate of paint mixing: Mixing pigments will usually lead to a loss in richness (chroma) of color. In other words, you can't get a rich, vivid green by mixing yellow and blue. You can't get a rich purple by mixing red and blue.

If you find yourself disagreeing with this, then I suggest you visit an art supply store. If Rule 2 were correct, then you would generally see beginner paint sets with five different paints: red, blue, yellow, white, and black paints. Maybe you would see sets with more colors premixed, but if you look at the ingredients, you would only see those five basic pigments. There would be no need for any others.

This set contains 12 of the most popular colors in 2 oz (59 ml) tubes, including Burnt Umber, Burnt Sienna, Raw Sienna, Yellow Oxide, Naphthol Crimson, Cadmium Orange, Phthalo Green, Yellow Medium Azo, Cadmium Red Light, Ultramarine Blue, Titanium White, and Mars Black.

Still not convinced? Then take a trip to the hardware store and ask to see their paint mixing equipment. Count the canisters... do they mix all the colors of paint with five pigments, or are the dispensing devices "Available as either 12, 14, or 16 canister turntables"?

Here's another suggestion for those not yet convinced. I put together a little a do-it-yourself guide to printing with the artists' primaries instead of CMY. Visit my blog post, print out the supplied images, and see what kind of results you would get if HP supplied you with red, blue, and yellow ink cartridges.

In order to get a full range of colors, you need to start with a variety of pure pigments that cover the full range of colors. The theory of the artists' primaries is just plain wrong. 

Red, yellow, green, blue, and purple primaries

Albert Munsell was a smart guy when it came to color. As proof, there was once an upstart wannabe color guru who was so bold as to refer to Munsell as the Father of Color Science. Munsell devised a color wheel that he actually manufactured with paints. (Before I go on, I need to say that his color wheel, was just part of the Munsell color space.)

Munsell started with five primatries. There were an additional five secondaries squished between those five primaries, and each of those ten hues had ten levels in between. Munsell's color wheel thus had a total of 100 different hues.

My rendition of the Munsell color wheel

I want to share a bit about how he created his physical actualization of the color wheel. I share because this is interesting and not well known. Part of this is reverse engineering and presumption on my part. If I have errors in this, I would be happy to recant.

Munsell started with five primaries: red, yellow, green, blue, and purple. With the exception of purple, he had pigments for each of these that he felt truly exemplified the colors. He had to mix two pigments together to get purple, but I mean, how could he avoid purple?

Next he used a creature known as a Maxwell disk to find complements to each of his first five primaries. This spinning disk would have a portion colored with one of his primaries, like red, and another portion colored with a potential shade for the compliment. The complement of red he called "BG" or "peacock blue". He would adjust the pigments mixed for the second pigment until he attained a gray color when the disk was spun.

The ten basic colors in the Munsell color space are listed below. The primaries are in bold type, which coincidentally all have single letter Munsell hue names. Note that Munsell made these with 8 different pigments.

Munsell hue
Color name
Pigment
5R
Red
Venetian red
5YR
Orange
Orange cadmium
5Y
Yellow
Raw sienna
5GY
Grass green
Emerald green and raw sienna
5G
Green
Emerald green
5BG
Peacock blue
Viridian and cobalt
5B
Blue
Cobalt
5PB
Purple-blue
Ultramarine
5P
Purple
Purple madder and cobalt
5RP
Plum
Purple madder

(From Albert Munsell, A Color Notation, 1919. Pigments are from paragraph 104, pps. 66 – 67; common color names are from paragraph 58, page 35. I received an email from Robin Myers which recounted the formulations for the ten basic colors that were used in the 1st, 2nd, 4th, 5th, 6th, and 7th editions. The only change over that time was that in the first two editions, 5BG was made with viridian as the only pigment, and later editions mixed this with cobalt. I appreciate having the help of experts like Robin to make sure that my blog posts are precise!)

Red, yellow, green, and blue primaries

A quick review...

The Chevreul color wheel and its derivatives is based on the dubious assumption that red, blue, and yellow paints can be mixed to make all colors. The RGB color wheel is based on the primaries RGB that work well for computer monitors and televisions and cell phones and tablets, and have always worked well in coordinating my underwear. The CMY color wheel is based on the colors of inks that seem to work well, but you almost always want to at least add black. Then you have the color wheel based on Munsell's color space, which in turn was based on a set of paint pigments that Albert Munsell decided upon back in the early 1900's.

These color wheels are all based on the color capabilities of physical stuff. Which is a bit odd, since "color" is largely a function of the spectral response of the cones in the eye, and the brain's processing of the signals from the cone.  It would seem that a color wheel would best be based on what goes on inside the human head, doncha think?

Ewald Hering proposed the idea of color opponents in 1892. His theory was that we sense an object as being reddish or greenish, but never both. There is a continuum of red to green where every color falls. Similarly, there is a continuum from blue to yellow. All color are perceived as somewhere on this continuum. Finally, there is a third such continuum between white and black. This general idea has been borne out with what we have learned about how the cones in the eye and the neurons leading to the brain work together to create color perception.

This idea was incorporated into the color wheel of the Natural Color System (NCS) shown below. This system was developed by Anders Hard and first described in 1966. The rendition below shows 40 steps. The NCS color system is perhaps not as well known as the Munsell color system, but both companies are in existence today, both selling books of colors.


This idea of color opponents (red vs green, blue vs yellow, and white vs black) can also be seen in the design of CIELAB, shown below.

Image from XRite website

I won't say much about CIELAB in this blog post, partly because I am getting tired of typing and suspect that most everyone is getting tired of reading. But, I think I can get away with not talking about the CIELAB color wheel, since I don't recall ever seeing a color wheel that was explicitly built on CIELAB. I say this not to diminish anything about CIELAB.

So, what's the answer?

Which one is more accurate?

The color wheel based on the artists' primaries is not bad, but it is based on a flawed proposition about the primaries.

The RGB color wheel works well for colors on a computer screen. The CMY color wheel works marginally well for printed colors. The two together are compatible, which makes them a very good conceptual model.

The color wheels based on the Munsell and the NCS color systems both have a great deal of research built into them, and accurate physical renditions of each can be purchased. They are both a bit of money, but they exist. And  I would call either of these accurate.

I will leave this discussion for the time being. But beware, I will have more to say..