Problem
I am trying to find out is there a good way to paint combining characters without changing the color of the base character they are combined with. My actual problem case is to make some Hebrew inflection charts with colored prefixes and suffixes. Problem area there is to being able to color vowel points, cantillation and other diacritical marks without changing the color of the base consonant. As a clarification, in following image from Wikipedia, consonants are in black, vowels in red and cantillation in blue.
As an illustration what I would like to be able to produce, I quickly photoshopped following example.
Search for solution
In my search so far, I have found that there has been discussion about this question in XeTeX mailing list in 2007. Back then there was not perfect solution. However a workaround with two overlapping words with different colors was proposed. Also there was noted that coloring solution for ArabTeX could be ported for Hebrew.
Unfortunately the workaround is quite laborious solution as you have to write every word twice, and also it doubles the chances to write something wrong. As what comes to the idea of porting ArabTeX, I am far too inexperienced with TeX that I could give that a try.
So I am hoping that there has been some development with this problem since 2007 with XeTeX or this can be achieved gracefully with some other tools.
Also please note me if you happen to know that this can be achieved word processors such as Word, OpenOffice.org Writer etc, as I am not aware if they can handle this either. (I know that Word can paint all diacritics, but I am not aware if it can paint just some diacritics.)
c{\color{red}̧}
(there should be an invisible combining cedilla between the two closing braces) works in both XeLaTeX and LuaLaTeX. Ligatures, on the other hand combine to a single symbol in the font and I don't think there is a way to color the parts individually.