How to assign Component color without skinparam

+1 vote
asked Mar 5, 2015 in To be sorted by anonymous

My understand is that if I want to assign color to component, I must declare the color in skinparam

for example,

************************

@startuml
 
skinparam component {
 
BackgroundColor<<Apache>> Yellow
 
}
 
component [Web Server] <<Apache>>
 
@enduml

********************************

Is there any more direct way to define component color without skinparam similar to arrow color, 

for example

***************************

@startuml
 
 
component [Web Server] [#Yellow]
 
@enduml

1 Answer

0 votes
answered Mar 12, 2015 by plantuml (200,200 points)

Hello,

You were not very far, you can have:

component [Web Server] #Yellow

We will update the doc...

...