Rgb (Function) — Skript
Addon: Skript · Category: Function · Since: 2.5, 2.10 (alpha)
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
set background color of {_text-display} to rgb(10, 50, 100, 50)