🎨Color patterns
Last updated
Last updated
MCUtils supports all vanilla color codes and text formatting by using the char '&'.
MCUtils also supports hexadecimal colors with two different formats:
Default: #RRGGBB
, so that's from #000000
up to #FFFFFF
, the format everyone is used to.
Simple: A simple version of the default hexadecimal pattern, which uses #RGB
, so #F00
translates to #FF0000
, using half the characters at the cost of color precision, this is useful when you are limited to a few characters, for example, while renaming an item on an anvil.
Gradients are also supported with two different formats:
Default: <#RRGGBBText Here#RRGGBB>
, for example, <#FF0000Hello world!#000000>
which is a gradient on the text "Hello world!" from #FF0000
to #000000
.
Simple: Same as the simple hexadecimal pattern, <#RGBText Here#RGB>
, the example above would translate to <#F00Hello world!#000>