In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cobalt Voltage — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #0000FF;
--color-3: #0080FF;
--color-4: #1E90FF;
--color-5: #00BFFF;
--color-bg: #EEF9FF;
--color-surface: #E1F0F9;
--color-border: #C5D8E3;
--color-text: #344C7F;
--color-muted: #5E6A82;
--color-primary: #0000FF;
--color-on-primary: #FFFFFF;
--color-accent: #007EA9;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #90B6CA;
--color-muted: #6B8897;
--color-primary: #1653FF;
--color-on-primary: #FFFFFF;
--color-accent: #00BFFF;
--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 #00BFFF | für Kontrast angepasst · aus #0000FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #4169E1 | für Kontrast angepasst · aus #00BFFF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #4169E1 |
| 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,90:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,25:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,09:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,59:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,61:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,03:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,31:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,86:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,13:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,09:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,65:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,01:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,01: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) | #0000FF (Text 2) | #0080FF (Text 3) | #1E90FF (Text 4) | #00BFFF (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Gleiche Farbe | 1,77— | 1,28— | 1,50— | 2,28— |
| #0000FF | 1,77— | Gleiche Farbe | 2,26— | 2,65— | 4,05AA groß |
| #0080FF | 1,28— | 2,26— | Gleiche Farbe | 1,17— | 1,79— |
| #1E90FF | 1,50— | 2,65— | 1,17— | Gleiche Farbe | 1,53— |
| #00BFFF | 2,28— | 4,05AA groß | 1,79— | 1,53— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
