Najbliższy nazwany kolor · #1D1526
#1D1526
Najbliższy nazwany kolor: Shot in the Dark
#1D1526 (rgb(29 21 38), hsl(268 29% 12%), oklch(0.214 0.035 305.3)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1D1526
oklch(0.214 0.035 305.3)
Konwersje koloru
- HEX
- #1d1526
- RGB
- rgb(29 21 38)
- HSL
- hsl(268 29% 12%)
- HWB
- hwb(268 8% 85%)
- OKLCH
- oklch(0.214 0.035 305.3)
- OKLab
- oklab(0.214 0.02 -0.028)
- CIE Lab
- lab(8.38 7.53 -10.25)
- LCH
- lch(8.38 12.72 306.3)
- CMYK
- cmyk(24% 45% 0% 85%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 302839
- 433D4C
- 585260
- 6E6975
- 85808B
- 9C98A1
- B4B1B8
- CCCACF
- E5E4E7
Odcienie ciemniejsze
- 181120
- 130C19
- 0E0813
- 09050D
- 050308
- 030204
- 010102
- 000001
- 000000
Tony
- 261E2E
- 2F2837
- 38323F
- 423D48
- 4C4751
- 56525A
- 605D64
- 6A696D
- 757476
Harmonie kolorów
Komplementarna +180°
- 1D1526
Shot in the Dark
- 151C0A
≈ Pinch of Pepper
Analogowa -30° +30°
- 1D1526
Shot in the Dark
- 151829
≈ Sambucus
- 23131F
≈ Inside
Triada +120° +240°
- 1D1526
Shot in the Dark
- 241607
≈ Cannon Black
- 031E1B
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1D1526
Shot in the Dark
- 1E1905
≈ Noir Mystique
- 0B1E12
≈ Nightmare
Tetrada +90° +180° +270°
- 1D1526
Shot in the Dark
- 27130E
≈ Used Oil
- 151C0A
≈ Pinch of Pepper
- 031D23
≈ Black Stallion
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.68:1 · APCA Lc 104
Ag
FailNa czerni
WCAG 1.18:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.68:1 (AAA) · APCA Lc 104
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1d1526;
--shot-in-the-dark-rgb: 29 21 38;
--shot-in-the-dark-oklch: oklch(0.214 0.035 305.3);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(268 29% 12%);
border-color: oklch(0.214 0.035 305.3);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1526;
--color-shot-in-the-dark-50: #f8f3fd;
--color-shot-in-the-dark-100: #ebe5f1;
--color-shot-in-the-dark-200: #d8d1e0;
--color-shot-in-the-dark-300: #bcb3c6;
--color-shot-in-the-dark-400: #a39aaf;
--color-shot-in-the-dark-500: #8b8199;
--color-shot-in-the-dark-600: #766d81;
--color-shot-in-the-dark-700: #5e5768;
--color-shot-in-the-dark-800: #45404c;
--color-shot-in-the-dark-900: #2f2c35;
--color-shot-in-the-dark-950: #1c1920;
}SCSS
$shot-in-the-dark: #1d1526;
$shot-in-the-dark-rgb: 29, 21, 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);
}