Najbliższy nazwany kolor · #1E1424
#1E1424
Najbliższy nazwany kolor: Shot in the Dark
#1E1424 (rgb(30 20 36), hsl(278 29% 11%), oklch(0.212 0.034 312.2)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1E1424
oklch(0.212 0.034 312.2)
Konwersje koloru
- HEX
- #1e1424
- RGB
- rgb(30 20 36)
- HSL
- hsl(278 29% 11%)
- HWB
- hwb(278 8% 86%)
- OKLCH
- oklch(0.212 0.034 312.2)
- OKLab
- oklab(0.212 0.023 -0.025)
- CIE Lab
- lab(8.1 8.24 -9.16)
- LCH
- lch(8.1 12.32 312)
- CMYK
- cmyk(17% 44% 0% 86%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 312737
- 453C4A
- 59515F
- 6F6874
- 857F89
- 9D97A0
- B4B0B7
- CDCACE
- E6E4E6
Odcienie ciemniejsze
- 19101E
- 130C18
- 0E0812
- 09050C
- 050307
- 030104
- 010102
- 000000
- 000000
Tony
- 271E2C
- 302735
- 39323E
- 433C47
- 4C4750
- 565259
- 605D63
- 6B686C
- 757476
Harmonie kolorów
Komplementarna +180°
- 1E1424
Shot in the Dark
- 131C0B
≈ Pinch of Pepper
Analogowa -30° +30°
- 1E1424
Shot in the Dark
- 161728
≈ Sambucus
- 23121D
≈ Inside
Triada +120° +240°
- 1E1424
Shot in the Dark
- 221606
≈ Cannon Black
- 021E1D
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1E1424
Shot in the Dark
- 1C1906
≈ Noir Mystique
- 081E14
≈ Clock Chimes Thirteen
Tetrada +90° +180° +270°
- 1E1424
Shot in the Dark
- 26130C
≈ Severely Burnt Toast
- 131C0B
≈ Pinch of Pepper
- 041C24
≈ Black Stallion
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.78:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.18:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1e1424;
--shot-in-the-dark-rgb: 30 20 36;
--shot-in-the-dark-oklch: oklch(0.212 0.034 312.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(278 29% 11%);
border-color: oklch(0.212 0.034 312.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e1424;
--color-shot-in-the-dark-50: #f9f2fc;
--color-shot-in-the-dark-100: #ece5f0;
--color-shot-in-the-dark-200: #dad0df;
--color-shot-in-the-dark-300: #beb3c4;
--color-shot-in-the-dark-400: #a599ad;
--color-shot-in-the-dark-500: #8e8097;
--color-shot-in-the-dark-600: #786c7f;
--color-shot-in-the-dark-700: #605766;
--color-shot-in-the-dark-800: #463f4b;
--color-shot-in-the-dark-900: #302c34;
--color-shot-in-the-dark-950: #1d1920;
}SCSS
$shot-in-the-dark: #1e1424;
$shot-in-the-dark-rgb: 30, 20, 36;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}