Najbliższy nazwany kolor · #1F1228
#1F1228
Najbliższy nazwany kolor: Shot in the Dark
#1F1228 (rgb(31 18 40), hsl(275 38% 11%), oklch(0.211 0.046 310.2)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1F1228
oklch(0.211 0.046 310.2)
Konwersje koloru
- HEX
- #1f1228
- RGB
- rgb(31 18 40)
- HSL
- hsl(275 38% 11%)
- HWB
- hwb(275 7% 84%)
- OKLCH
- oklch(0.211 0.046 310.2)
- OKLab
- oklab(0.211 0.029 -0.035)
- CIE Lab
- lab(7.83 10.98 -12.56)
- LCH
- lch(7.83 16.68 311.1)
- CMYK
- cmyk(22% 55% 0% 84%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 32263B
- 453A4E
- 5A5062
- 706777
- 867E8C
- 9D97A2
- B5B0B9
- CDCAD0
- E6E4E7
Odcienie ciemniejsze
- 190E21
- 140A1B
- 0F0715
- 0A040F
- 060209
- 030104
- 010102
- 000001
- 000000
Tony
- 281C30
- 312639
- 3A3041
- 433B4A
- 4D4653
- 57515B
- 615C64
- 6B686E
- 757477
Harmonie kolorów
Komplementarna +180°
- 1F1228
Shot in the Dark
- 111D05
≈ Nightmare
Analogowa -30° +30°
- 1F1228
Shot in the Dark
- 15162D
≈ Sambucus
- 260F1F
≈ Inside
Triada +120° +240°
- 1F1228
Shot in the Dark
- 261400
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1F1228
Shot in the Dark
- 1D1900
≈ Noir Mystique
- 011F11
≈ Clock Chimes Thirteen
Tetrada +90° +180° +270°
- 1F1228
Shot in the Dark
- 2A1007
≈ Root Brew
- 111D05
≈ Nightmare
- 001C25
≈ Creeping Death
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.86:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.17:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1f1228;
--shot-in-the-dark-rgb: 31 18 40;
--shot-in-the-dark-oklch: oklch(0.211 0.046 310.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(275 38% 11%);
border-color: oklch(0.211 0.046 310.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1228;
--color-shot-in-the-dark-50: #faf2ff;
--color-shot-in-the-dark-100: #ede4f3;
--color-shot-in-the-dark-200: #dbcfe3;
--color-shot-in-the-dark-300: #bfb1c9;
--color-shot-in-the-dark-400: #a797b3;
--color-shot-in-the-dark-500: #907e9d;
--color-shot-in-the-dark-600: #796b85;
--color-shot-in-the-dark-700: #61556a;
--color-shot-in-the-dark-800: #473e4f;
--color-shot-in-the-dark-900: #312b37;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #1f1228;
$shot-in-the-dark-rgb: 31, 18, 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);
}