Hex Code (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.14
Syntax
[the] hex[adecimal] code of %rgblikes%Description
Returns the hexadecimal value representing the given color(s). The hex value of a colour does not contain a leading #, just the RRGGBB value. For those looking for hex values of numbers, see the asBase and fromBase functions. NOTE: If the provided color is an alpha color, the hex format will be AARRGGBB.
Examples
send formatted "<#%hex code of rgb(100, 10, 10)%>darker red" to all players