Roblox API Reference

StudioStyleGuideColor On DevHub

Summary

Indicates a Studio widget or element with a particular color.

Item index (118)

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.

ScriptWhitespace 62 429 428 429 454 473 505 No description.
ScriptRuler 63 432 454 473 505 No description.
DocViewCodeBackground 64 504 505 No description.
DebuggerCurrentLine 65 353 429 428 429 432 454 473 504 505

Background of current debugging line in the script editor.

DebuggerErrorLine 66 353 429 428 429 432 454 473 504 505

Background of debugging error in the script editor.

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