printconsole Synchronous

Print text using an RGB color in the console. Use a color to distinguish a category of output or emphasize a short status message. RGB components here use 0–255, unlike normalized Drawing color components.

Syntax
Luau
printconsole(text: string, red: number?, green: number?, blue: number?) -> ()

Parameters

Function parameters
ParameterTypeDescription
textstringText to display.
rednumber?Red component from 0 to 255. Omission defaults to 255; explicit nil is rejected.
greennumber?Green component from 0 to 255. Omission defaults to 255; explicit nil is rejected.
bluenumber?Blue component from 0 to 255. Omission defaults to 255; explicit nil is rejected.

Returns

()

This function returns no values.

Example

Example
Luau
printconsole("Saved successfully", 80, 200, 120)
Kawaii documentation