Roblox API Reference

StudioStyleGuideColor On DevHub

Summary

Indicates a Studio widget or element with a particular color.

Item index (127)

Name Value History Description
MainBackground 0 350

The background for most widgets.

Titlebar 1 350

The title bar of panel widgets.

Dropdown 2 350

The background of the menu component of a dropdown widget.

Tooltip 3 350

The background of a tooltip.

Notification 4 350

The background of a notification.

ScrollBar 5 350

The thumb component of a scrollbar.

ScrollBarBackground 6 350

The track component of a scrollbar.

TabBar 7 350

The background of the tab bar that contains tab widgets.

Tab 8 350

The background of a tab widget.

FilterButtonDefault 9 473 No description.
FilterButtonHover 10 473 No description.
FilterButtonChecked 11 473 No description.
FilterButtonAccent 12 473 No description.
FilterButtonBorder 13 473 No description.
FilterButtonBorderAlt 14 473 No description.
RibbonTab 15 350 473

The background of a ribbon tab widget.

RibbonTabTopBar 16 350 473

The bar that appears above a selected ribbon tab.

Button 17 350 473

The background of a button widget.

MainButton 18 350 473
RibbonButton 19 350 473

The background of a button widget on the ribbon bar.

ViewPortBackground 20 473
InputFieldBackground 21 350 473
Item 22 350 473
TableItem 23 350 473
CategoryItem 24 350 473
GameSettingsTableItem 25 350 473
GameSettingsTooltip 26 350 473
EmulatorBar 27 350 473
EmulatorDropDown 28 350 473
ColorPickerFrame 29 350 473
CurrentMarker 30 350 473
Border 31 350 473
DropShadow 32 505 No description.
Shadow 33 350 473 505
Light 34 350 473 505
Dark 35 350 473 505
Mid 36 353 473 505
MainText 37 350 353 473 505
SubText 38 350 353 473 505
TitlebarText 39 350 353 473 505
BrightText 40 350 353 473 505
DimmedText 41 350 353 473 505
LinkText 42 350 353 473 505

Text that has a hyperlink.

WarningText 43 350 353 473 505

Text in the output panel that indicates a warning.

ErrorText 44 350 353 473 505

Text in the output panel that indicates an error.

InfoText 45 350 353 473 505

Text in the output panel that indicates non-printed information.

SensitiveText 46 350 353 473 505

Text in the output panel that indicates sensitive information.

ScriptSideWidget 47 350 353 473 505
ScriptBackground 48 350 353 473 505

Background in the script editor.

ScriptText 49 350 353 473 505

Detault text in the script editor.

ScriptSelectionText 50 350 353 473 505

Selected text in the script editor.

ScriptSelectionBackground 51 350 353 473 505

Background of selected text in the script editor.

ScriptFindSelectionBackground 52 350 353 473 505

Background of searched text in the script editor.

ScriptMatchingWordSelectionBackground 53 351 350 351 353 473 505

Background of words matching selected text in the script editor.

ScriptOperator 54 350 353 473 505

Lua operators in the script editor.

ScriptNumber 55 350 353 473 505

Lua numbers in the script editor.

ScriptString 56 350 353 473 505

Lua strings in the script editor.

ScriptComment 57 350 353 473 505

Lua comments in the script editor.

ScriptKeyword 58 350 353 454 473 505

Lua keywords in the script editor.

ScriptBuiltInFunction 59 350 353 454 473 505

Lua built-in functions in the script editor.

ScriptWarning 60 350 353 454 473 505

Warning decoration in the script editor.

ScriptError 61 350 353 454 473 505

Error decoration in the script editor.

ScriptInformation 62 573 No description.
ScriptHint 63 573 No description.
ScriptWhitespace 64 429 428 429 454 473 505 573 No description.
ScriptRuler 65 432 454 473 505 573 No description.
DocViewCodeBackground 66 504 505 573 No description.
DebuggerCurrentLine 67 353 429 428 429 432 454 473 504 505 573

Background of current debugging line in the script editor.

DebuggerErrorLine 68 353 429 428 429 432 454 473 504 505 573

Background of debugging error in the script editor.

DiffFilePathText 69 352 353 429 428 429 432 454 473 504 505 573
DiffTextHunkInfo 70 352 353 429 428 429 432 454 473 504 505 573
DiffTextNoChange 71 352 353 429 428 429 432 454 473 504 505 573
DiffTextAddition 72 352 353 429 428 429 432 454 473 504 505 573
DiffTextDeletion 73 352 353 429 428 429 432 454 473 504 505 573
DiffTextSeparatorBackground 74 352 353 429 428 429 432 454 473 504 505 573
DiffTextNoChangeBackground 75 352 353 429 428 429 432 454 473 504 505 573
DiffTextAdditionBackground 76 352 353 429 428 429 432 454 473 504 505 573
DiffTextDeletionBackground 77 352 353 429 428 429 432 454 473 504 505 573
DiffLineNum 78 352 353 429 428 429 432 454 473 504 505 573
DiffLineNumSeparatorBackground 79 352 353 429 428 429 432 454 473 504 505 573
DiffLineNumNoChangeBackground 80 352 353 429 428 429 432 454 473 504 505 573
DiffLineNumAdditionBackground 81 352 353 429 428 429 432 454 473 504 505 573
DiffLineNumDeletionBackground 82 352 353 429 428 429 432 454 473 504 505 573
DiffFilePathBackground 83 356 429 428 429 432 454 473 504 505 573
DiffFilePathBorder 84 356 429 428 429 432 454 473 504 505 573
ChatIncomingBgColor 85 440 454 473 504 505 573 No description.
ChatIncomingTextColor 86 440 454 473 504 505 573 No description.
ChatOutgoingBgColor 87 440 454 473 504 505 573 No description.
ChatOutgoingTextColor 88 440 454 473 504 505 573 No description.
ChatModeratedMessageColor 89 440 454 473 504 505 573 No description.
Separator 90 359 429 428 429 432 440 454 473 504 505 573
ButtonBorder 91 359 429 428 429 432 440 454 473 504 505 573
ButtonText 92 359 429 428 429 432 440 454 473 504 505 573
InputFieldBorder 93 359 429 428 429 432 440 454 473 504 505 573
CheckedFieldBackground 94 359 429 428 429 432 440 454 473 504 505 573
CheckedFieldBorder 95 359 429 428 429 432 440 454 473 504 505 573
CheckedFieldIndicator 96 359 429 428 429 432 440 454 473 504 505 573
HeaderSection 97 359 429 428 429 432 440 454 473 504 505 573
Midlight 98 361 429 428 429 432 440 454 473 504 505 573
StatusBar 99 362 429 428 429 432 440 454 473 504 505 573
DialogButton 100 380 429 428 429 432 440 454 473 504 505 573
DialogButtonText 101 380 429 428 429 432 440 454 473 504 505 573
DialogButtonBorder 102 380 429 428 429 432 440 454 473 504 505 573
DialogMainButton 103 380 429 428 429 432 440 454 473 504 505 573
DialogMainButtonText 104 380 429 428 429 432 440 454 473 504 505 573
InfoBarWarningBackground 105 438 440 454 473 504 505 573 No description.
InfoBarWarningText 106 438 440 454 473 504 505 573 No description.
ScriptEditorCurrentLine 107 440 454 473 504 505 573 No description.
ScriptMethod 108 452 454 473 504 505 573 No description.
ScriptProperty 109 452 454 473 504 505 573 No description.
ScriptNil 110 452 454 473 504 505 573 No description.
ScriptBool 111 452 454 473 504 505 573 No description.
ScriptFunction 112 452 454 473 504 505 573 No description.
ScriptLocal 113 452 454 473 504 505 573 No description.
ScriptSelf 114 452 454 473 504 505 573 No description.
ScriptLuauKeyword 115 454 473 504 505 573 No description.
ScriptFunctionName 116 452 454 473 504 505 573 No description.
ScriptTodo 117 452 454 473 504 505 573 No description.
ScriptBracket 118 458 473 504 505 573 No description.
AttributeCog 119 457 458 473 504 505 573 No description.
AICOOverlayText 128 574 No description.
AICOOverlayButtonBackground 129 574 No description.
AICOOverlayButtonBackgroundHover 130 574 No description.
AICOOverlayButtonBackgroundPressed 131 574 No description.
OnboardingCover 132 597 No description.
OnboardingHighlight 133 597 No description.
OnboardingShadow 134 597 No description.

Removed item index (12)

Name Value History Description
MainSection 0 350 No description.
Menu 7 350 No description.
InputField 15 350 No description.
HighlightText 23 350 No description.
DimmerText 24 350 No description.
ScriptMachtingWordSelectionBackground 45 350 351 350 351 No description.
ScriptPreprocessor 51 350 353 454

Lua preprocessors in the script editor.

Merge3HighlightOriginal 89 392 416
Merge3HighlightMine 90 392 416
Merge3HighlightTheirs 91 392 416
ScriptExport 106 452 454 No description.
ScriptType 107 452 454 No description.

Details

Each Studio theme has a color for each item, as well as a number of modifiers corresponding to StudioStyleGuideModifier. The color of an item can be retrieved with StudioTheme.GetColor.

The following table lists, for each theme, the current colors and their variations:

ItemLightDark
MainBackground
Titlebar
Dropdown
Tooltip
Notification
ScrollBar
ScrollBarBackground
TabBar
Tab
RibbonTab
RibbonTabTopBar
Button
MainButton
RibbonButton
ViewPortBackground
InputFieldBackground
Item
TableItem
CategoryItem
GameSettingsTableItem
GameSettingsTooltip
EmulatorBar
EmulatorDropDown
ColorPickerFrame
CurrentMarker
Border
Shadow
Light
Dark
Mid
MainText
SubText
TitlebarText
BrightText
DimmedText
LinkText
WarningText
ErrorText
InfoText
SensitiveText
ScriptSideWidget
ScriptBackground
ScriptText
ScriptSelectionText
ScriptSelectionBackground
ScriptFindSelectionBackground
ScriptMatchingWordSelectionBackground
ScriptOperator
ScriptNumber
ScriptString
ScriptComment
ScriptPreprocessor
ScriptKeyword
ScriptBuiltInFunction
ScriptWarning
ScriptError
DebuggerCurrentLine
DebuggerErrorLine
DiffFilePathText
DiffTextHunkInfo
DiffTextNoChange
DiffTextAddition
DiffTextDeletion
DiffTextSeparatorBackground
DiffTextNoChangeBackground
DiffTextAdditionBackground
DiffTextDeletionBackground
DiffLineNum
DiffLineNumSeparatorBackground
DiffLineNumNoChangeBackground
DiffLineNumAdditionBackground
DiffLineNumDeletionBackground
DiffFilePathBackground
DiffFilePathBorder
Separator
ButtonBorder
ButtonText
InputFieldBorder
CheckedFieldBackground
CheckedFieldBorder
CheckedFieldIndicator
HeaderSection
Midlight
StatusBar
DialogButton
DialogButtonText
DialogButtonBorder
DialogMainButton
DialogMainButtonText
Merge3HighlightOriginal
Merge3HighlightMine
Merge3HighlightTheirs

Items

Removed items

History

Relevant members (1)