In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cornflower Royal — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #5579F1;
--color-3: #6989FF;
--color-4: #7D99FF;
--color-5: #91A9FF;
--color-bg: #F4F7FF;
--color-surface: #E8EDFB;
--color-border: #CFD4E6;
--color-text: #394D81;
--color-muted: #616B83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #5D71C2;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #A2ADCF;
--color-muted: #79819B;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #91A9FF;
--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 #91A9FF | für Kontrast angepasst · aus #4169E1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #4169E1 | für Kontrast angepasst · aus #91A9FF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #4169E1 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,68:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,03: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,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,56:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,52:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,25:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,57:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,86:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,94:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,49:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,94:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,49: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 | #4169E1 (Text 1) | #5579F1 (Text 2) | #6989FF (Text 3) | #7D99FF (Text 4) | #91A9FF (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Gleiche Farbe | 1,24— | 1,53— | 1,82— | 2,15— |
| #5579F1 | 1,24— | Gleiche Farbe | 1,23— | 1,46— | 1,73— |
| #6989FF | 1,53— | 1,23— | Gleiche Farbe | 1,19— | 1,41— |
| #7D99FF | 1,82— | 1,46— | 1,19— | Gleiche Farbe | 1,18— |
| #91A9FF | 2,15— | 1,73— | 1,41— | 1,18— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
