Navigation
API > API/Runtime > API/Runtime/SlateCore
Note: If you add another color here, you should update the Dark.json theme file in Engine\Content\Slate\Themes & FUMGColors in UMGCoreStyle.cpp for consistency
| Name | EStyleColor |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/StyleColors.h |
| Include Path | #include "Styling/StyleColors.h" |
Syntax
enum EStyleColor
{
Black,
Background,
Title,
WindowBorder,
Foldout,
Input,
InputOutline,
Recessed,
Panel,
Header,
Dropdown,
DropdownOutline,
Hover,
Hover2,
White,
White25,
Highlight,
Primary,
PrimaryHover,
PrimaryPress,
Secondary,
Foreground,
ForegroundHover,
ForegroundInverted,
ForegroundHeader,
Select,
SelectInactive,
SelectParent,
SelectHover,
Notifications,
AccentBlue,
AccentPurple,
AccentPink,
AccentRed,
AccentOrange,
AccentYellow,
AccentGreen,
AccentBrown,
AccentBlack,
AccentGray,
AccentWhite,
AccentFolder,
Warning,
Error,
Success,
User1,
User2,
User3,
User4,
User5,
User6,
User7,
User8,
User9,
User10,
User11,
User12,
User13,
User14,
User15,
User16,
MAX,
}
Values
| Name | Remarks |
|---|---|
| Black | |
| Background | |
| Title | |
| WindowBorder | |
| Foldout | |
| Input | |
| InputOutline | |
| Recessed | |
| Panel | |
| Header | |
| Dropdown | |
| DropdownOutline | |
| Hover | |
| Hover2 | |
| White | |
| White25 | |
| Highlight | |
| Primary | |
| PrimaryHover | |
| PrimaryPress | |
| Secondary | |
| Foreground | |
| ForegroundHover | |
| ForegroundInverted | |
| ForegroundHeader | |
| Select | |
| SelectInactive | |
| SelectParent | |
| SelectHover | |
| Notifications | |
| AccentBlue | |
| AccentPurple | |
| AccentPink | |
| AccentRed | |
| AccentOrange | |
| AccentYellow | |
| AccentGreen | |
| AccentBrown | |
| AccentBlack | |
| AccentGray | |
| AccentWhite | |
| AccentFolder | |
| Warning | |
| Error | |
| Success | |
| User1 | Only user colors should be below this line To use user colors: |
| User2 | |
| User3 | |
| User4 | |
| User5 | |
| User6 | |
| User7 | |
| User8 | |
| User9 | |
| User10 | |
| User11 | |
| User12 | |
| User13 | |
| User14 | |
| User15 | |
| User16 | |
| MAX |