printconsole Synchronous
Send a colored text line to the native console. RGB channels make a short status easier to distinguish from surrounding output.
Luau
printconsole(text: string, red: number?, green: number?, blue: number?) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | Text to print. |
red | number? | Optional red channel from 0 to 255; defaults to 255. |
green | number? | Optional green channel from 0 to 255; defaults to 255. |
blue | number? | Optional blue channel from 0 to 255; defaults to 255. |
Returns
()No values.
Usage notes
Explicit nil channel arguments are rejected; omit trailing channels to use defaults.
These RGB numbers are 0–255, unlike normalized Drawing color values.
Example
Luau
printconsole("Import complete", 64, 200, 120)