Font Color in Participants

0 votes
asked Apr 26, 2013 in To be sorted by anonymous
Can I set the FontColor for participants in Sequence Dirgrams (or all other block element) without a global skin param? Or can I set Skin params for particular class of elements i.e. group of particioant?

1 Answer

0 votes
answered Apr 26, 2013 by plantuml (295,000 points)

You can do that:

participant Bob as "<color:#red>Bob"
Bob -> Alice : <color:#00FF00>hello

Is it what you are looking for ?

commented Apr 26, 2013 by anonymous
Yes exactly, missed the HTML color tag option, sorry ;-)
commented Jul 31, 2017 by anonymous
Team.. i need white font color in purple color box. so i got purple but how to make font as white?
 participant “SH_10.206.48.134” as #purple

basically, i want to show SH_.... as white font in purple box.
commented Feb 15, 2022 by Janine
participant "<font color=white> Name of Participant" as S2 #pink
commented Feb 16, 2022 by The-Lu (67,040 points)

Hello all,

To answer to an old question, you can also use:

skinparam participantFontColor automatic
participant "Name of P1" as S1 #purple
participant "Name of P2" as S2 #yellow