In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Royal Electric — colorset.net */
:root {
--color-1: #0033CC;
--color-2: #1A4DE6;
--color-3: #3366FF;
--color-4: #5C80FF;
--color-5: #8599FF;
--color-bg: #F4F6FF;
--color-surface: #E9EDFB;
--color-border: #CFD4E6;
--color-text: #354D80;
--color-muted: #5F6B83;
--color-primary: #3366FF;
--color-on-primary: #FFFFFF;
--color-accent: #0033CC;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #232E42;
--color-text: #9BA4C5;
--color-muted: #7B829C;
--color-primary: #3366FF;
--color-on-primary: #FFFFFF;
--color-accent: #8599FF;
--color-on-accent: #080F1F;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #8599FF | für Kontrast angepasst · aus #0033CC |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #0033CC | für Kontrast angepasst · aus #8599FF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 3 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,71:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,12:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,68:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,95:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,34:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,30:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,75:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,11:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,02:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,68:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,28:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,08:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,28:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #0033CC (Text 1) | #1A4DE6 (Text 2) | #3366FF (Text 3) | #5C80FF (Text 4) | #8599FF (Text 5) |
|---|---|---|---|---|---|
| #0033CC | Gleiche Farbe | 1,38— | 1,91— | 2,55— | 3,41AA groß |
| #1A4DE6 | 1,38— | Gleiche Farbe | 1,38— | 1,84— | 2,46— |
| #3366FF | 1,91— | 1,38— | Gleiche Farbe | 1,33— | 1,78— |
| #5C80FF | 2,55— | 1,84— | 1,33— | Gleiche Farbe | 1,34— |
| #8599FF | 3,41AA groß | 2,46— | 1,78— | 1,34— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
