Skip to content

[ML] New Severity colors alignment ML features #217508

@joana-cps

Description

@joana-cps

Mapping of the New Severity colors for ML features

New color mapping:

Color mapping Value
#EE4C48 Red/70 75-100
#FF995E Orange/50 50-75
#FCD883 Yellow/30 25-50
#94D8EB Sky/40 3-25
#CFEEF7 Sky/20 0-3

This is the base color mapping, however, there are small variants in components that need stroke or backgrounds:

Color mapping per component:

Swimlane

⚠️ Variations in the blue colors in Ligh-mode

Color mapping Light-mode Dark-mode
75-100 #EE4C48 Red/70 #EE4C48 Red/70
50-75 #FF995E Orange/50 #FF995E Orange/50
25-50 #FCD883 Yellow/30 #FCD883 Yellow/30
3-25 #94D8EB Sky/30 #94D8EB Sky/40
0-3 #CFEEF7 Sky/10 #CFEEF7 Sky/20

Single Metric Viewer

⚠️ New base colors, see: https://github.com/elastic/platform-ux-team/issues/647
⚠️ Stroke goes 1 level up

Color mapping Light/Dark mode Background Stroke
75-100 #EE4C48 Red/70 #DA3737 Red/80
50-75 #FF995E Orange/50 #FC8544 Orange/60
25-50 #FCD883 Yellow/30 #FACB3D Yellow/40
3-25 #94D8EB Sky/40 #63C8E3 Sky/50
0-3 #CFEEF7 Sky/20 #B5E5F2 Sky/30

Influencers sidebar and Anomalies table

Uses the base colors

Color mapping Value
#EE4C48 Red/70 75-100
#FF995E Orange/50 50-75
#FCD883 Yellow/30 25-50
#94D8EB Sky/40 3-25
#CFEEF7 Sky/20 0-3
Color mapping Light mode Dark mode Name
Progress bar background #ECF1F9 #172336 Shades/Lightest

EUI Badges with Severity colors

Color mapping Light/Dark mode Text name Background name
75-100 #A71627 Text/Base/Danger #FDDDD8 Backgrounds/Light/Danger
50-75 #9E3A16 Text/Base/Risk #FFDEBF Backgrounds/Light/Risk
25-50 #825803 Text/Base/Warning #FDE9B5 Backgrounds/Light/Warning
3-25 #0F658A Text/Base/Neutral #CFEEF7 Backgrounds/Light/Neutral
0-3 #0F658A Text/Base/Neutral #CFEEF7 Backgrounds/Light/Neutral

Anomalies table

Uses the base colors

Color mapping Value
#EE4C48 Red/70 75-100
#FF995E Orange/50 50-75
#FCD883 Yellow/30 25-50
#94D8EB Sky/40 3-25
#CFEEF7 Sky/20 0-3

How it looks in context:

Image Image

For implementation, please follow EUI guidance and avoid using hardcoded color values: elastic/eui#8537
Any question, reach out to me or @gvnmagni :)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions