Najbliższy nazwany kolor · #1F1325
#1F1325
Najbliższy nazwany kolor: Shot in the Dark
#1F1325 (rgb(31 19 37), hsl(280 32% 11%), oklch(0.212 0.039 313.9)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#1F1325
oklch(0.212 0.039 313.9)
Konwersje koloru
- HEX
- #1f1325
- RGB
- rgb(31 19 37)
- HSL
- hsl(280 32% 11%)
- HWB
- hwb(280 7% 85%)
- OKLCH
- oklch(0.212 0.039 313.9)
- OKLab
- oklab(0.212 0.027 -0.028)
- CIE Lab
- lab(7.98 9.62 -10.08)
- LCH
- lch(7.98 13.93 313.6)
- CMYK
- cmyk(16% 49% 0% 85%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 322638
- 453B4B
- 5A515F
- 706775
- 867F8A
- 9D97A1
- B5B0B7
- CDCACF
- E6E4E7
Odcienie ciemniejsze
- 190F1F
- 140B19
- 0F0713
- 0A050D
- 060308
- 030104
- 010102
- 000000
- 000000
Tony
- 281D2D
- 312736
- 3A313F
- 433B48
- 4D4651
- 57515A
- 615D63
- 6B686D
- 757476
Harmonie kolorów
Komplementarna +180°
- 1F1325
Shot in the Dark
- 111C09
≈ Pinch of Pepper
Analogowa -30° +30°
- 1F1325
Shot in the Dark
- 17162A
≈ Sambucus
- 25111D
≈ Inside
Triada +120° +240°
- 1F1325
Shot in the Dark
- 231603
≈ Cannon Black
- 001E1D
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 1F1325
Shot in the Dark
- 1C1903
≈ Noir Mystique
- 041E14
≈ Clock Chimes Thirteen
Tetrada +90° +180° +270°
- 1F1325
Shot in the Dark
- 271209
≈ Severely Burnt Toast
- 111C09
≈ Pinch of Pepper
- 011C26
≈ Oxford by Night
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.82:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.17:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #1f1325;
--shot-in-the-dark-rgb: 31 19 37;
--shot-in-the-dark-oklch: oklch(0.212 0.039 313.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(280 32% 11%);
border-color: oklch(0.212 0.039 313.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1325;
--color-shot-in-the-dark-50: #faf2fd;
--color-shot-in-the-dark-100: #ede4f1;
--color-shot-in-the-dark-200: #dbd0e0;
--color-shot-in-the-dark-300: #bfb2c5;
--color-shot-in-the-dark-400: #a798af;
--color-shot-in-the-dark-500: #907f98;
--color-shot-in-the-dark-600: #796c81;
--color-shot-in-the-dark-700: #615667;
--color-shot-in-the-dark-800: #473f4c;
--color-shot-in-the-dark-900: #312b35;
--color-shot-in-the-dark-950: #1d1820;
}SCSS
$shot-in-the-dark: #1f1325;
$shot-in-the-dark-rgb: 31, 19, 37;
$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);
}