Enum
Enum.StudioScriptEditorColorCategories
Color categories used to theme the Script Editor in Roblox Studio.
| Item | Value | Summary |
|---|---|---|
| Enum.StudioScriptEditorColorCategories.Default | 0 | Fallback foreground color used for script text that does not match any more specific syntax category. |
| Enum.StudioScriptEditorColorCategories.Operator | 1 | Color applied to operator tokens such as +, -, , /, ==, and .. in scripts. |
| Enum.StudioScriptEditorColorCategories.Number | 2 | Color applied to numeric literal tokens in scripts. |
| Enum.StudioScriptEditorColorCategories.String | 3 | Color applied to string literal tokens, including quoted strings and long-string literals. |
| Enum.StudioScriptEditorColorCategories.Comment | 4 | Color applied to comment tokens (single-line -- and block --[[ ]] comments) in scripts. |
| Enum.StudioScriptEditorColorCategories.Keyword | 5 | Color applied to Luau reserved keywords such as if, then, else, do, end, return, and while. |
| Enum.StudioScriptEditorColorCategories.Builtin | 6 | Color applied to Luau built-in functions and standard library identifiers in scripts. |
| Enum.StudioScriptEditorColorCategories.Method | 7 | Color applied to method call identifiers in scripts. |
| Enum.StudioScriptEditorColorCategories.Property | 8 | Color applied to property access identifiers (tokens following a . operator) in scripts. |
| Enum.StudioScriptEditorColorCategories.Nil | 9 | Color applied to the nil literal token in scripts. |
| Enum.StudioScriptEditorColorCategories.Bool | 10 | Foreground color used to highlight boolean literals (true and false) in scripts. |
| Enum.StudioScriptEditorColorCategories.Function | 11 | Color applied to the function keyword token in function declarations. |
| Enum.StudioScriptEditorColorCategories.Local | 12 | Color applied to the local keyword token in local variable and function declarations. |
| Enum.StudioScriptEditorColorCategories.Self | 13 | Color applied to the self identifier token in method bodies. |
| Enum.StudioScriptEditorColorCategories.LuauKeyword | 14 | Color applied to Luau-specific type annotation keywords such as type and typeof. |
| Enum.StudioScriptEditorColorCategories.FunctionName | 15 | Color applied to the identifier that names a function in its declaration. |
| Enum.StudioScriptEditorColorCategories.TODO | 16 | Color applied to TODO markers found inside comments in scripts. |
| Enum.StudioScriptEditorColorCategories.Background | 17 | Main background color of the Script Editor canvas. |
| Enum.StudioScriptEditorColorCategories.SelectionText | 18 | Foreground color for text within the currently selected range in the Script Editor. |
| Enum.StudioScriptEditorColorCategories.SelectionBackground | 19 | Background highlight color for the currently selected text range in the Script Editor. |
| Enum.StudioScriptEditorColorCategories.FindSelectionBackground | 20 | Background highlight color applied to text ranges matched by a Find or Replace operation. |
| Enum.StudioScriptEditorColorCategories.MatchingWordBackground | 21 | Background highlight color applied to all occurrences of the word under the cursor when word-highlight is active. |
| Enum.StudioScriptEditorColorCategories.Warning | 22 | Color used for warning-severity diagnostic markers and underlines in scripts. |
| Enum.StudioScriptEditorColorCategories.Error | 23 | Color used for error-severity diagnostic markers and underlines in scripts. |
| Enum.StudioScriptEditorColorCategories.Info | 24 | Color used for information-severity diagnostic markers in scripts. |
| Enum.StudioScriptEditorColorCategories.Hint | 25 | Color used for hint-severity diagnostic markers in scripts. |
| Enum.StudioScriptEditorColorCategories.Whitespace | 26 | Color used to render visible whitespace characters (spaces and tabs) when that display option is enabled. |
| Enum.StudioScriptEditorColorCategories.ActiveLine | 27 | Background highlight color applied to the line that currently contains the text cursor. |
| Enum.StudioScriptEditorColorCategories.DebuggerCurrentLine | 28 | Background highlight color for the line the debugger is currently paused on. |
| Enum.StudioScriptEditorColorCategories.DebuggerErrorLine | 29 | Background highlight color for a line that caused a runtime error during a debugging session. |
| Enum.StudioScriptEditorColorCategories.Ruler | 30 | Color of the vertical column ruler line drawn at the configured character-width limit in the Script Editor. |
| Enum.StudioScriptEditorColorCategories.Bracket | 31 | Color applied to bracket characters such as (, ), [, ], {, and } in scripts. |
| Enum.StudioScriptEditorColorCategories.Type | 32 | Color applied to Luau type name tokens in type annotations and declarations. |
| Enum.StudioScriptEditorColorCategories.MenuPrimaryText | 33 | Primary text color for items listed in autocomplete and context-menu popups. |
| Enum.StudioScriptEditorColorCategories.MenuSecondaryText | 34 | Secondary text color (for example, type annotations or documentation hints) in autocomplete popups. |
| Enum.StudioScriptEditorColorCategories.MenuSelectedText | 35 | Text color of the currently highlighted item in autocomplete and context-menu popups. |
| Enum.StudioScriptEditorColorCategories.MenuBackground | 36 | Background color for autocomplete and context-menu popups in the Script Editor. |
| Enum.StudioScriptEditorColorCategories.MenuSelectedBackground | 37 | Background color of the currently highlighted item in autocomplete and context-menu popups. |
| Enum.StudioScriptEditorColorCategories.MenuScrollbarBackground | 38 | Background color of the scrollbar track inside autocomplete and context-menu popups. |
| Enum.StudioScriptEditorColorCategories.MenuScrollbarHandle | 39 | Color of the scrollbar thumb (handle) inside autocomplete and context-menu popups. |
| Enum.StudioScriptEditorColorCategories.MenuBorder | 40 | Border color for autocomplete and context-menu popups in the Script Editor. |
| Enum.StudioScriptEditorColorCategories.DocViewCodeBackground | 41 | Background color for inline code blocks rendered in the documentation viewer panel within Studio. |
| Enum.StudioScriptEditorColorCategories.AICOOverlayText | 42 | Text color for labels displayed in the AI Code Overlay panel. |
| Enum.StudioScriptEditorColorCategories.AICOOverlayButtonBackground | 43 | Background color for AI Code Overlay action buttons in their default (idle) state. |
| Enum.StudioScriptEditorColorCategories.AICOOverlayButtonBackgroundHover | 44 | Background color for AI Code Overlay action buttons when the pointer hovers over them. |
| Enum.StudioScriptEditorColorCategories.AICOOverlayButtonBackgroundPressed | 45 | Background color for AI Code Overlay action buttons while they are being pressed. |
| Enum.StudioScriptEditorColorCategories.IndentationRuler | 46 | Color of the vertical guide lines drawn at each indentation level in the script editor gutter. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.