Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

How to change font color of a composite state?

+2 votes

asked May 29, 2015 by bond007 (650 points)
edited May 29, 2015 by bond007

1 Answer

0 votes
Best answer


Unfortunatly, you cannot... This is hardcoded to black.

However, we build a new beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

In this beta, the parameter StateFontColor is now taken into account.


skinparam shadowing false
skinparam StateFontColor white
skinparam StateBorderColor white
skinparam StateBackgroundColor gray
skinparam BackgroundColor gray
state "Any Page" as s1 {
   state "Using the text\nsearch input" as s2
Thank for the report!
answered Jun 12, 2015 by plantuml (131,070 points)
selected Jun 19, 2015 by bond007
Thank you very much! I got the required result with the beta:
Support This Project Offer 250 Mo! Follow PlantUML on Twitter