Rgb (Function) — Skript
Addon: Skript · Category: Function
Syntax
rgb(red: long, green: long, blue: long, [alpha: long]) :: colorDescription
Returns a RGB color from the given red, green and blue parameters. Alpha values can be added optionally but these only take affect in certain situations, like text display backgrounds.
Examples
dye player's leggings rgb(120, 30, 45)
set the colour of a text display to rgb(10, 50, 100, 50)