Najbliższy nazwany kolor · #1B1428
#1B1428
Najbliższy nazwany kolor: Shot in the Dark
#1B1428 (rgb(27 20 40), hsl(261 33% 12%), oklch(0.211 0.04 299.1)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1B1428
oklch(0.211 0.04 299.1)
Konwersje koloru
- HEX
- #1b1428
- RGB
- rgb(27 20 40)
- HSL
- hsl(261 33% 12%)
- HWB
- hwb(261 8% 84%)
- OKLCH
- oklch(0.211 0.04 299.1)
- OKLab
- oklab(0.211 0.019 -0.035)
- CIE Lab
- lab(7.89 7.86 -12.52)
- LCH
- lch(7.89 14.78 302.1)
- CMYK
- cmyk(33% 50% 0% 84%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 2E273B
- 413C4E
- 565162
- 6C6877
- 837F8C
- 9B98A2
- B3B0B9
- CCCAD0
- E5E4E7
Odcienie ciemniejsze
- 161021
- 110C1B
- 0C0815
- 08050F
- 050309
- 020104
- 010102
- 000001
- 000000
Tony
- 241E30
- 2D2839
- 373241
- 403C4A
- 4A4753
- 55525B
- 5F5D64
- 6A696E
- 757477
Harmonie kolorów
Komplementarna +180°
- 1B1428
Shot in the Dark
- 161B05
≈ Pinch of Pepper
Analogowa -30° +30°
- 1B1428
Shot in the Dark
- 11172B
≈ Sambucus
- 221121
≈ Inside
Triada +120° +240°
- 1B1428
Shot in the Dark
- 261305
≈ Severely Burnt Toast
- 001E19
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1B1428
Shot in the Dark
- 201702
≈ Noir Mystique
- 0A1D0E
≈ Pinch of Pepper
Tetrada +90° +180° +270°
- 1B1428
Shot in the Dark
- 28110E
≈ Root Brew
- 161B05
≈ Pinch of Pepper
- 001D21
≈ Stellar Explorer
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.83:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.17:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1b1428;
--shot-in-the-dark-rgb: 27 20 40;
--shot-in-the-dark-oklch: oklch(0.211 0.04 299.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(261 33% 12%);
border-color: oklch(0.211 0.04 299.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1b1428;
--color-shot-in-the-dark-50: #f7f3ff;
--color-shot-in-the-dark-100: #eae5f3;
--color-shot-in-the-dark-200: #d7d1e3;
--color-shot-in-the-dark-300: #bbb3c9;
--color-shot-in-the-dark-400: #a19ab3;
--color-shot-in-the-dark-500: #89819d;
--color-shot-in-the-dark-600: #746d85;
--color-shot-in-the-dark-700: #5d576b;
--color-shot-in-the-dark-800: #44404f;
--color-shot-in-the-dark-900: #2f2c37;
--color-shot-in-the-dark-950: #1b1922;
}SCSS
$shot-in-the-dark: #1b1428;
$shot-in-the-dark-rgb: 27, 20, 40;
$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);
}