Najbliższy nazwany kolor · #201226
#201226
Najbliższy nazwany kolor: Shot in the Dark
#201226 (rgb(32 18 38), hsl(282 36% 11%), oklch(0.211 0.043 315.2)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#201226
oklch(0.211 0.043 315.2)
Konwersje koloru
- HEX
- #201226
- RGB
- rgb(32 18 38)
- HSL
- hsl(282 36% 11%)
- HWB
- hwb(282 7% 85%)
- OKLCH
- oklch(0.211 0.043 315.2)
- OKLab
- oklab(0.211 0.031 -0.03)
- CIE Lab
- lab(7.88 10.97 -10.98)
- LCH
- lch(7.88 15.52 315)
- CMYK
- cmyk(16% 53% 0% 85%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 332539
- 463A4C
- 5B5060
- 716775
- 877E8B
- 9E97A1
- B5B0B8
- CDCACF
- E6E4E7
Odcienie ciemniejsze
- 1A0E20
- 150A19
- 0F0713
- 0A040D
- 060208
- 030104
- 010102
- 000001
- 000000
Tony
- 291C2E
- 322637
- 3B3040
- 443B48
- 4E4651
- 57515A
- 615C64
- 6B686D
- 767476
Harmonie kolorów
Komplementarna +180°
- 201226
Shot in the Dark
- 0F1D08
≈ Pinch of Pepper
Analogowa -30° +30°
- 201226
Shot in the Dark
- 17152B
≈ Sambucus
- 26101D
≈ Inside
Triada +120° +240°
- 201226
Shot in the Dark
- 241501
≈ Cannon Black
- 001E1E
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 201226
Shot in the Dark
- 1C1901
≈ Noir Mystique
- 011F14
≈ Clock Chimes Thirteen
Tetrada +90° +180° +270°
- 201226
Shot in the Dark
- 281107
≈ Root Brew
- 0F1D08
≈ Pinch of Pepper
- 001C26
≈ Oxford by Night
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.85:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.17:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.85:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #201226;
--shot-in-the-dark-rgb: 32 18 38;
--shot-in-the-dark-oklch: oklch(0.211 0.043 315.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(282 36% 11%);
border-color: oklch(0.211 0.043 315.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #201226;
--color-shot-in-the-dark-50: #faf2fd;
--color-shot-in-the-dark-100: #eee4f2;
--color-shot-in-the-dark-200: #dccfe1;
--color-shot-in-the-dark-300: #c1b1c6;
--color-shot-in-the-dark-400: #a897b0;
--color-shot-in-the-dark-500: #917e9a;
--color-shot-in-the-dark-600: #7b6b82;
--color-shot-in-the-dark-700: #625568;
--color-shot-in-the-dark-800: #483e4d;
--color-shot-in-the-dark-900: #322b36;
--color-shot-in-the-dark-950: #1e1821;
}SCSS
$shot-in-the-dark: #201226;
$shot-in-the-dark-rgb: 32, 18, 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);
}