MakeMusic
SmartMusic Finale Garritan MusicXML

How do I change the color of a words element?

Moderator: Michael Good

How do I change the color of a words element?

Postby maestro58 » Wed Oct 19, 2016 12:44 pm

I've been experimenting and reading stuff on the internet (including this forum) but can't seem to find any information about how to change the color of text. Below is a code snippet that I thought would work, but doesn't seem to. Is it possible to change the color of the text in a words element? If so, how do I do it?

<direction placement="above">
<direction-type>
<words default-x="0.00" default-y="55" color="#ff0000">This should be red.</words>
</direction-type>
</direction>
maestro58
 
Posts: 2
Joined: October, 2016
Reputation: 0

Re: How do I change the color of a words element?

Postby Michael Good » Wed Oct 19, 2016 4:05 pm

The letters in the color need to be in uppercase: #FF0000 rather than #ff0000.

Otherwise, that is indeed how you would specify the color change in MusicXML. However, you will also need a MusicXML reader that supports these types of color changes. Many scoring applications don't seem to support this MusicXML feature yet.
Michael Good
VP of MusicXML Technologies
MakeMusic, Inc.
User avatar
Michael Good
 
Posts: 2197
Joined: March, 2014
Reputation: 0

Re: How do I change the color of a words element?

Postby maestro58 » Thu Oct 20, 2016 8:25 am

Thank you!
maestro58
 
Posts: 2
Joined: October, 2016
Reputation: 0

Who is online

Users browsing this forum: No registered users and 2 guests

cron