How Chord Colors Are Computed
Color Coding gives the short version; this page is the full recipe, computed by the same code that colors the wheel. A chord's color should do 4 things:
- Transposing to another key keeps the color.
- Inverting an interval or a chord keeps its color.
- Chords of different qualities get different colors.
- Order matters, so a major and a minor triad differ.
- Dissonance adds extra flavor: the tritone, major seventh and minor second count for more than the common intervals.
The recipe starts from single intervals and builds chords up from them, one goal at a time.
1. Intervals have colors
Each interval takes the color of its interval class: the smaller of its size in semitones and 12 minus that size. An interval is a distance, not a pitch, so it looks the same in any key (the 2nd goal). And a perfect fourth and its inversion, a perfect fifth, share class 5, and so share a color (the 3rd).
Interval colors
A chord is several intervals at once. Which ones, and does their order matter?
2. A chord is a necklace of intervals
Walk from each note of a chord to the next, wrapping from the last back to the first. The intervals you walk form a loop, which mathematicians call a necklace. It is made of distances, so a chord has the same necklacein every key. And where you start reading doesn't change it, so every inversion is the same necklace too (see triad inversions). That covers the 2nd and 3rd goals for chords.
The order around the loop does matter, though. C major (C, E, G) is a necklace of a major third, a minor third and a perfect fourth. C minor (C, E♭, G) is a necklace of the same 3 intervals in another order, and the 4th goal says they should look different:
3. Weighting the intervals
Each interval starts at a weight of 1. To make order matter, the weights depend on an interval's place in the necklace, so we need a first one: the smallest interval, or if several tie, the one followed by the smaller interval. In semitones, a major triad then reads 3, 5, 4 and a minor triad 3, 4, 5.
Order: each interval gains an order weight (), 1.5 for the first, falling in a straight line to 0 for the last. Both triads start with the minor third, but a minor triad puts the major third 2nd, and a major triad puts it last, behind the perfect fourth, so the major third gets a different weight in each.
Dissonance: the minor second, major seventh (class 1) and tritone (class 6) gain a dissonance weight () of 0.9 and 1 instead, wherever they sit, so they flavor the color more than the common intervals do.
4. The mix
The chord's color is the weighted average of its interval colors, taken in LCH, a color space that blends hues smoothly, with hue averaged as an angle. Worked through for both triads:
| Interval | Color | Order | Weight |
|---|---|---|---|
| 3 | 1.50 | 2.50 | |
| 5 | 0.75 | 1.75 | |
| 4 | 0.00 | 1.00 | |
| Mix | |||
| Interval | Color | Order | Weight |
|---|---|---|---|
| 3 | 1.50 | 2.50 | |
| 4 | 0.75 | 1.75 | |
| 5 | 0.00 | 1.00 | |
| Mix | |||
Same intervals, same 3 weights, paired differently: the minor triad gives the major third more weight, so its mix leans further toward that green. That is the whole difference between the 2 colors.
All together, the recipe is:
5. Beyond triads
Add a B to C major to get Cmaj7 (C, E, G, B). The perfect fifth from C to G is no longer between neighboring notes, so from 4 notes up the necklace also gets diagonals: intervals spanning 2 neighbors, n ÷ 2 of them rounded down, sorted by size and added after the rest. Cmaj7 has 6 intervals in all:
| Interval | Color | 1 + d | Order | Weight |
|---|---|---|---|---|
| 1 | 1.90 | 0.00 | 1.90 | |
| 4 | 1.00 | 1.20 | 2.20 | |
| 3 | 1.00 | 0.90 | 1.90 | |
| 4 | 1.00 | 0.60 | 1.60 | |
| 5 | 1.00 | 0.30 | 1.30 | |
| 7 | 1.00 | 0.00 | 1.00 | |
| Mix | ||||
Each of the 6 carries a small share, and the more colors an average takes in, the less any one stands out. Add a 7th to both triads and their colors move closer:
Cmaj7 and Cm7 still differ, but by less than the triads do: the 1st goal gets harder as chords grow. Some chords even share a color by the 3rd goal, since Cm7 and E♭6 are the same 4 notes. Read the color as a cue to a chord's character, and the name as the way to tell chords apart.