This translation need to be updated.
You can also use color gradient in background, with the following syntax: two colors names separated either by:
depending the direction of the gradient.
See the previous section, and
Color gradient on Class diagram page.
The special value
can be used for font (text foreground) color. In that case, the color is either black or white, depending on the current background.
You can manipulate color with
, and the
Name Description Example Return
Return a darken color of a given color with some ratio
Check if a color is a dark one
Check if a color is a light one
Return a lighten color of a given color with some ratio
Reverse a color using RGB
Reverse a color using HSLuv
A user has recently created an image to display
all names colors used by PlantUML
. (We thank him by the way!)
So a new feature has been added to print all those colors using a special diagram description:
It is also possible to print a palette of colors close to some other color (using its name or HEX value).
uses color names that reflect the purpose of a node:
Application Business Implementation Motivation Physical Strategy Technology