EStyleColor

If you add another color here, you should update the Dark.json theme file in Engine & FUMGColors in UMGCoreStyle.cpp for consistency

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/StyleColors.h

Include

#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

Description

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

Remarks

If you add another color here, you should update the Dark.json theme file in Engine & FUMGColors in UMGCoreStyle.cpp for consistency