A few days ago, to learn to play music, I bought a keyboard (Yamaha, EZ-30). It has lighted keys and all light red. It somehow felt wrong that all keys light up red.

If A lights up red, then C should light up yellow - that's how I would think (may be I am biased because of my inclination toward physics - red is low frequency, yellow is higher frequency).

My question: is there a standard coding of colors for the musical notes (like that of a resistor) or am I just thinking nonsense by thinking of notes in terms of colors?

I also think that since my keyboard is touch sensitive, a hard A should light up brighter than a soft A.

  • 10
    I've never heard of a standard coloring. But as a related note, there is the concept, or phenomenon, of 'synesthesia' - by which some people correlate different notes with different colors. en.wikipedia.org/wiki/Synesthesia May 21, 2012 at 21:38
  • 5
    This link shows some studies done on it this, but no real information about what it actually is. en.wikipedia.org/wiki/Colored_music_notation If there's anything, it's not standard.
    – Luke_0
    May 21, 2012 at 21:42
  • 1
    I have also never heard of a color code for notes. There is however a system called "shape notes". en.wikipedia.org/wiki/Shape_note May 21, 2012 at 22:07
  • 2
    Stephen Malinowski's Music Animation Machine has many visualizations that use harmonic coloring based on the perfect fifth: the tonic is blue, and then each increasing fifth is assigned an incremental hue from around a color wheel. In Music Animation Machine, you can select which pitch is the tonic, and it will change to blue. His Harmonizer iPad app uses the same color scheme with C fixed as blue.
    – Bavi_H
    May 22, 2012 at 3:20
  • 2
    Not all the 'C's are higher frequency than 'A'. There is a C two white keys higher, and another 4 keys lower.
    – slim
    May 22, 2012 at 8:59

9 Answers 9


UPDATE: Here are a few more items to consider regarding the relationship of color and sound, specifically the visible spectrum of light and the audio spectrum.

Art history portrays two different art movements in the early 20th century that embrace the relationship of sound and color: Orphism and Synchromism.



In addition to this here is a contemporary composer that recently presented musical works at the FermiLab that interpret data collected from the behavior of subatomic particles into musical form. The composer, Dr. David Ibbett, uses the process of sonification to transpose the spectrum of visible light into a musical scale.

This is achieved by doubling the tone as in raise an octave but do this 40 times to reach visible light frequencies. Or go from a color's frequency and divide by the same constant and derive a tone. For example, if you raise "the note A 440 Hertz" forty octaves it's frequency is close to 483.79 THz which is in the range of the color orange.

Here is a graphic that demonstrates the conversion of light to sound. (source: https://www.flutopedia.com/sound_color.htm)

enter image description here

This update suggests a standard way to convert notes into colors, but still there is some room for interpretation. For one thing the visible spectrum is just shy of an octave, 400–790 THz so trying to make a full octave means that if you start with Red, the top note won't be visible or if you start with infrared to see the highest note then the lowest note might not be visible. Additionally, the audio spectrum we can hear is about 10 octaves, so it is arbitrary which of the 10 audio octaves to convert the color. Also, visible light is both made of particles and waves, where audio is simply waves.

This update (2-28-2021) shows a more scientific way to convert music to color but still has a lot of room for arbitration. My answer below from 7 years ago should now read that there is a way to covert A 440 Hz to a color, but not necessarily every note is so secure to have a color such as E through F# appear to be on the borders.

================== Original Answer ============================================ There is no standard for converting musical notes into colors. This would be an arbitrary process as there is no way to convert say "A" 440 Hz into a specific wave length of light. It might be interesting to perhaps make up your own. Many artists have tried to correlate color with sound so it is definitely a notion that has been around for a long time.




You might want to see how scientists use pseudo-color to assist in illustrating a condition or concept. Here is a wiki on this:


NASA, NOAA, and many astronomy images use pseudo-color:


Here's some off the wall thing I found about music, this might be the sort of tool you are looking to use:


  • 1
    That flutopedia link has a lot of different systems with some historical or scientific or spiritual basis.
    – awe lotta
    Mar 2, 2021 at 13:45

There's no standard. So I've come up with my own standard :) There are 12 tertiary colors and there are 12 tones in an octave. So that should be an obvious thing to map.

Here's an example of my little program

I map red to the keysignature's tone. Then the 12 tertiary colors take us up to the leading tone of the scale (12th in the octave, 7th in the major scale).

So the colors go:

  • 0 red
  • 1 orange
  • 2 yellow
  • 3 yellow-green
  • 4 green
  • 5 cyan
  • 6 lt blue
  • 7 blue
  • 8 dk purple
  • 9 purple
  • 10 pink
  • 11 magenta-pink-whatever

Stepping the "hue" of a color in 12 steps gets you those.

So a major scale would be: red,yellow,green,cyan,blue,purple,magenta minor scale would have yellowgreen instead of green, etc. (modified 6th and 7th color too) It works out pretty good.

The reason you don't want A as your base color is that C is usually your keysignature note and is the base of the scale.

So if there WAS to be a standard, it'd probably be this :) But if you go to pianoworld.com and ask THAT forum what color notes should be, you'll get back a BIG LOUD yell of =just black=.

Use whatever colors you want.

  • @P i (since I can't seem to add comments by your answer?) My colors were worked out with ole mspaint. In the color editor, Hue can go from 0 to 239. So I used Hue=0,20,40,60,80,100,120,140,160,180,200,220 for my color set. May 23, 2012 at 15:29
  • Well, this guy reasons that F should be red
    – bobobobo
    Jan 3, 2014 at 22:57
  • I'm not sure he's thought that out too well... On his lower diagram, F is orange. I'm not sure how he justifies starting the hue somewhere other than C=hue of 0? Jan 3, 2014 at 23:45

A lot of music in the schools has the color coding for Boomwackers and bells. I have used these colors for keyboards as well. Red=C Orange=D Yellow=E Green=F Blue=G Purple=A Pink=B. This has worked well for my very young students 3 to 5 year olds. It also helps to identify C for all students when beginning my large group classes.


The composer Scriabin designed a colour note organ. I think the pitch values of notes are arbitrary but timbre/texture/shape can have ascribed hues and intensities. eg.. A high flute tone can be silver, a deep piano note black etc. . It's a bit of a blind alley though as surely most music ends up muddy brown!


There is a piano pedagogy method known as the "Rainbow Piano Technique" that assigns colors to different notes on the keyboard.

This color code includes a large number of distinct colors which are assigned to notes spanning a little more than 3 octave, including selected accidentals. Colors are not repeated at the octave. Color tags are meant to be taped to your keyboard.

The method then uses special scores with noteheads that are colored to correspond to the colored tags on the keyboard.


To convert notes into colors in the most physics-inspired way, multiply the audio frequencies by 2^40 (40 octaves) to obtain terahertz frequencies in the visible range.

Starting from A=440Hz, this yields:

  • F#: 737nm (dark red)
  • G: 696nm (red)
  • G#: 657nm (unfortunately also red in RGB colorspace)
  • A: 620nm (orange-red)
  • A#: 585nm (yellow)
  • B: 552nm (green-yellow / chartreuse)
  • C: 521nm (green)
  • C#: 492nm (cyan)
  • D: 464nm (sky blue)
  • D#: 438nm (blue)
  • E: 414nm (blue-indigo)
  • F: 390nm (indigo)
  • F#: 369nm (deep violet)

To get around G (696nm) and G# (657nm) both translating red in RGB color space, and the deepness of F# violet: I would suggest using violet for F#, dark red for G, red for G#, and orange for A.


  • I don't think this really answers the question, I mean you giv A way of converting, but it's not a standardized thing, and it's not explaining that there is or isn't a color code for notes. Oct 30, 2013 at 20:17
  • 3
    Shashank mentioned "my inclination toward physics - red is low frequency, yellow is higher frequency". What I have done is to provide the physics-based color-coding of notes by doubling the audio frequencies until they fit into the visible spectrum.
    – Graham
    Nov 1, 2013 at 12:00
  • an inclination towards physics doesn't mean that physics provides a colour representation between sound and light. By that logic I would imagine sound is a vastly lower frequency than light, so the conversion would be that sound is outwith the visible light spectrum, but no conversion is needed. Alternatively you could argue that the lowest frequency notes hear should map with the lowest we can see to give a spectrum. my point is, it's a made up mapping, and converting in a 'physics inspired' way is subjective, non-standard and unused. Nov 1, 2013 at 16:58
  • 3
    The standard A note is 440Hz, the next A up one octave is 880Hz, and the A note up 40 octaves is 484THz, which is also the frequency of orange-red visible light, hence the natural mapping. It would only be a different color if you chose a different base frequency for A other than 440Hz, but that would be non-standard.
    – Graham
    Nov 2, 2013 at 18:52
  • I wonder if the inharmonicity of, say, a piano string could be continued into that range to calculate a different set of hypothetical color-sound correspondences.
    – awe lotta
    Mar 2, 2021 at 13:56

I had one of these as a child. There was an accompanying booklet which had music notation with coloured noteheads. This instrument is rather non standard - the black notes sound G, and it plays a major scale. So that green notebar actually sounds F#

enter image description here

Colours can be helpful to provide a steer for self-teaching beginners. But once you've passed the beginner stage you don't need colours. Black and white printing (and plain silver notebars!) are sufficient.


As a kid in the late 60's and 70's I remember there was a standard color scheme that was widely used in organ beginner books. The color scheme was used at first by manufacturers in an attempt to make the music learning process seem simple and easy to assimilate. The colors were mostly used to help identify the notes in the lower keyboard which was electronically designed with the auto chord and auto rhythm functions. I'm not sure I remember correctly, but I think C=blue, F=green, G=red... If you look in "old" used book stores you may find some of these beginner books that came with WURLITZER and LOWREY organs.

  • Thanks for the answer. But the above color scheme is quite counter-intuitive. C should have been red and G should have been blue (I am a student of science and in physics higher frequency visible light is near blue). I don't think I am a synesthete and I don't have an obvious relation from music to color - most of it is because of the relation of frequency to color in physics. Jun 2, 2012 at 2:13
  • @ShashankSawant Why do you believe red is at a lower frequency than blue? Is it really your intuition, or are you referencing another source for this data, and applying some other factor to assigning frequencies to colors? Of what significance is the EM frequencies of the colors to the notes when learning their locations on the keyboard? If one is picking colors for keys, the importance is in selecting colors which effectively aids in locating, identifying and remembering their associated sound and position. Applying an external reference (EM frequency) is what is truly counter-intuitive here. Dec 5, 2016 at 6:41

The constructed language Solresol, which was created in the 1800s intended as an international auxiliary language, uses solfege syllables as the available sounds. It also features several different available writing/communication methods, including color and actual pitches.

Correspondence between representations of Solresol. By Parcly Taxel, This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.

Not the answer you're looking for? Browse other questions tagged or ask your own question.