Reference API Roblox

Engine API

Website

Related

Reference API Roblox

StudioScriptEditorColorCategories

Color categories used to theme the Script Editor in Roblox Studio.

Items 47

HistoryNameValueDescription
449Default0

Fallback foreground color used for script text that does not match any more specific syntax category.

449Operator1

Color applied to operator tokens such as +, -, *, /, ==, and .. in scripts.

449Number2

Color applied to numeric literal tokens in scripts.

449String3

Color applied to string literal tokens, including quoted strings and long-string literals.

449Comment4

Color applied to comment tokens (single-line -- and block --[[ ]] comments) in scripts.

449Keyword5

Color applied to Luau reserved keywords such as if, then, else, do, end, return, and while.

449Builtin6

Color applied to Luau built-in functions and standard library identifiers in scripts.

452Method7

Color applied to method call identifiers in scripts.

452Property8

Color applied to property access identifiers (tokens following a . operator) in scripts.

452Nil9

Color applied to the nil literal token in scripts.

452Bool10

Foreground color used to highlight boolean literals (true and false) in scripts.

452Function11

Color applied to the function keyword token in function declarations.

452Local12

Color applied to the local keyword token in local variable and function declarations.

452Self13

Color applied to the self identifier token in method bodies.

454LuauKeyword14

Color applied to Luau-specific type annotation keywords such as type and typeof.

454FunctionName15

Color applied to the identifier that names a function in its declaration.

454TODO16

Color applied to TODO markers found inside comments in scripts.

454Background17

Main background color of the Script Editor canvas.

454SelectionText18

Foreground color for text within the currently selected range in the Script Editor.

454SelectionBackground19

Background highlight color for the currently selected text range in the Script Editor.

454FindSelectionBackground20

Background highlight color applied to text ranges matched by a Find or Replace operation.

454MatchingWordBackground21

Background highlight color applied to all occurrences of the word under the cursor when word-highlight is active.

454Warning22

Color used for warning-severity diagnostic markers and underlines in scripts.

454Error23

Color used for error-severity diagnostic markers and underlines in scripts.

573Info24

Color used for information-severity diagnostic markers in scripts.

573Hint25

Color used for hint-severity diagnostic markers in scripts.

573Whitespace26

Color used to render visible whitespace characters (spaces and tabs) when that display option is enabled.

573ActiveLine27

Background highlight color applied to the line that currently contains the text cursor.

573DebuggerCurrentLine28

Background highlight color for the line the debugger is currently paused on.

573DebuggerErrorLine29

Background highlight color for a line that caused a runtime error during a debugging session.

573Ruler30

Color of the vertical column ruler line drawn at the configured character-width limit in the Script Editor.

573Bracket31

Color applied to bracket characters such as (, ), [, ], {, and } in scripts.

656Type32

Color applied to Luau type name tokens in type annotations and declarations.

656MenuPrimaryText33

Primary text color for items listed in autocomplete and context-menu popups.

656MenuSecondaryText34

Secondary text color (for example, type annotations or documentation hints) in autocomplete popups.

656MenuSelectedText35

Text color of the currently highlighted item in autocomplete and context-menu popups.

656MenuBackground36

Background color for autocomplete and context-menu popups in the Script Editor.

656MenuSelectedBackground37

Background color of the currently highlighted item in autocomplete and context-menu popups.

656MenuScrollbarBackground38

Background color of the scrollbar track inside autocomplete and context-menu popups.

656MenuScrollbarHandle39

Color of the scrollbar thumb (handle) inside autocomplete and context-menu popups.

656MenuBorder40

Border color for autocomplete and context-menu popups in the Script Editor.

656DocViewCodeBackground41

Background color for inline code blocks rendered in the documentation viewer panel within Studio.

656AICOOverlayText42

Text color for labels displayed in the AI Code Overlay panel.

656AICOOverlayButtonBackground43

Background color for AI Code Overlay action buttons in their default (idle) state.

656AICOOverlayButtonBackgroundHover44

Background color for AI Code Overlay action buttons when the pointer hovers over them.

656AICOOverlayButtonBackgroundPressed45

Background color for AI Code Overlay action buttons while they are being pressed.

656IndentationRuler46

Color of the vertical guide lines drawn at each indentation level in the script editor gutter.

Removed items 1

HistoryNameValue
454Export14

Description

Identifies visual element categories whose colors can be customized in the Roblox Studio Script Editor theme system. Each value is a distinct syntactic or UI region in the editor.

History 114

Settings