Najbliższy nazwany kolor · #1D1426
#1D1426
Najbliższy nazwany kolor: Shot in the Dark
#1D1426 (rgb(29 20 38), hsl(270 31% 11%), oklch(0.212 0.037 306.5)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1D1426
oklch(0.212 0.037 306.5)
Konwersje koloru
- HEX
- #1d1426
- RGB
- rgb(29 20 38)
- HSL
- hsl(270 31% 11%)
- HWB
- hwb(270 8% 85%)
- OKLCH
- oklch(0.212 0.037 306.5)
- OKLab
- oklab(0.212 0.022 -0.03)
- CIE Lab
- lab(8.06 8.25 -10.74)
- LCH
- lch(8.06 13.54 307.5)
- CMYK
- cmyk(24% 47% 0% 85%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 302739
- 433C4C
- 585160
- 6E6875
- 857F8B
- 9C97A1
- B4B0B8
- CCCACF
- E5E4E7
Odcienie ciemniejsze
- 181020
- 130C19
- 0E0813
- 09050D
- 050308
- 030104
- 010102
- 000001
- 000000
Tony
- 261E2E
- 2F2737
- 383240
- 423C48
- 4C4751
- 56525A
- 605D64
- 6B686D
- 757476
Harmonie kolorów
Komplementarna +180°
- 1D1426
Shot in the Dark
- 141C08
≈ Pinch of Pepper
Analogowa -30° +30°
- 1D1426
Shot in the Dark
- 141729
≈ Sambucus
- 23121F
≈ Inside
Triada +120° +240°
- 1D1426
Shot in the Dark
- 241505
≈ Cannon Black
- 001E1B
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1D1426
Shot in the Dark
- 1E1904
≈ Noir Mystique
- 081E12
≈ Clock Chimes Thirteen
Tetrada +90° +180° +270°
- 1D1426
Shot in the Dark
- 27120C
≈ Root Brew
- 141C08
≈ Pinch of Pepper
- 011D24
≈ Stellar Explorer
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.79:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.18:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1d1426;
--shot-in-the-dark-rgb: 29 20 38;
--shot-in-the-dark-oklch: oklch(0.212 0.037 306.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(270 31% 11%);
border-color: oklch(0.212 0.037 306.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1426;
--color-shot-in-the-dark-50: #f8f2fd;
--color-shot-in-the-dark-100: #ebe5f2;
--color-shot-in-the-dark-200: #d9d0e1;
--color-shot-in-the-dark-300: #bdb3c6;
--color-shot-in-the-dark-400: #a499b0;
--color-shot-in-the-dark-500: #8c809a;
--color-shot-in-the-dark-600: #776d82;
--color-shot-in-the-dark-700: #5f5768;
--color-shot-in-the-dark-800: #453f4d;
--color-shot-in-the-dark-900: #302c35;
--color-shot-in-the-dark-950: #1c1921;
}SCSS
$shot-in-the-dark: #1d1426;
$shot-in-the-dark-rgb: 29, 20, 38;
$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);
}