Najbliższy nazwany kolor · #241120
#241120
Najbliższy nazwany kolor: Shot in the Dark
#241120 (rgb(36 17 32), hsl(313 36% 10%), oklch(0.212 0.041 335.1)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#241120
oklch(0.212 0.041 335.1)
Konwersje koloru
- HEX
- #241120
- RGB
- rgb(36 17 32)
- HSL
- hsl(313 36% 10%)
- HWB
- hwb(313 7% 86%)
- OKLCH
- oklch(0.212 0.041 335.1)
- OKLab
- oklab(0.212 0.037 -0.017)
- CIE Lab
- lab(7.97 12.3 -6.25)
- LCH
- lch(7.97 13.8 333.1)
- CMYK
- cmyk(0% 53% 11% 86%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 372433
- 4B3946
- 5F4F5B
- 746671
- 8A7E87
- A0969E
- B7AFB5
- CFC9CD
- E7E4E6
Odcienie ciemniejsze
- 1E0D1A
- 180915
- 12060F
- 0C040A
- 070206
- 040103
- 020001
- 000000
- 000000
Tony
- 2D1B29
- 352532
- 3E2F3B
- 473A44
- 51454E
- 5A5157
- 635C61
- 6D686B
- 767476
Harmonie kolorów
Komplementarna +180°
- 241120
Shot in the Dark
- 071E10
≈ Clock Chimes Thirteen
Analogowa -30° +30°
- 241120
Shot in the Dark
- 1D1328
≈ Inside
- 281016
≈ Italian Roast
Triada +120° +240°
- 241120
Shot in the Dark
- 1F1801
≈ Noir Mystique
- 001D23
≈ Stellar Explorer
Komplementarna rozszczepiona +150° +210°
- 241120
Shot in the Dark
- 141C06
≈ Pinch of Pepper
- 001E1B
≈ Stellar Explorer
Tetrada +90° +180° +270°
- 241120
Shot in the Dark
- 251403
≈ Cannon Black
- 071E10
≈ Clock Chimes Thirteen
- 061A2A
≈ 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: #241120;
--shot-in-the-dark-rgb: 36 17 32;
--shot-in-the-dark-oklch: oklch(0.212 0.041 335.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(313 36% 10%);
border-color: oklch(0.212 0.041 335.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #241120;
--color-shot-in-the-dark-50: #fdf1f9;
--color-shot-in-the-dark-100: #f1e3ed;
--color-shot-in-the-dark-200: #e0cedb;
--color-shot-in-the-dark-300: #c6b0bf;
--color-shot-in-the-dark-400: #ae96a8;
--color-shot-in-the-dark-500: #987c91;
--color-shot-in-the-dark-600: #80697b;
--color-shot-in-the-dark-700: #675462;
--color-shot-in-the-dark-800: #4b3d48;
--color-shot-in-the-dark-900: #342a32;
--color-shot-in-the-dark-950: #20181e;
}SCSS
$shot-in-the-dark: #241120;
$shot-in-the-dark-rgb: 36, 17, 32;
$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);
}