Najbliższy nazwany kolor · #20141F
#20141F
Najbliższy nazwany kolor: Shot in the Dark
#20141F (rgb(32 20 31), hsl(305 23% 10%), oklch(0.212 0.028 329.4)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#20141F
oklch(0.212 0.028 329.4)
Konwersje koloru
- HEX
- #20141f
- RGB
- rgb(32 20 31)
- HSL
- hsl(305 23% 10%)
- HWB
- hwb(305 8% 87%)
- OKLCH
- oklch(0.212 0.028 329.4)
- OKLab
- oklab(0.212 0.024 -0.014)
- CIE Lab
- lab(8.18 8.16 -5.24)
- LCH
- lch(8.18 9.7 327.3)
- CMYK
- cmyk(0% 38% 3% 87%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 332732
- 473B45
- 5B515A
- 716870
- 877F86
- 9E979D
- B5B0B5
- CDCACD
- E6E4E6
Odcienie ciemniejsze
- 1A1019
- 150C14
- 0F080F
- 0A050A
- 060306
- 030103
- 010101
- 000000
- 000000
Tony
- 291D28
- 322731
- 3B313A
- 443C43
- 4E474D
- 575257
- 615D61
- 6B686B
- 767475
Harmonie kolorów
Komplementarna +180°
- 20141F
Shot in the Dark
- 0F1C12
≈ Pinch of Pepper
Analogowa -30° +30°
- 20141F
Shot in the Dark
- 1B1624
≈ Violet Void
- 231318
≈ Bats Cloak
Triada +120° +240°
- 20141F
Shot in the Dark
- 1E1809
≈ Noir Mystique
- 071C20
≈ Black Stallion
Komplementarna rozszczepiona +150° +210°
- 20141F
Shot in the Dark
- 171B0B
≈ Noir Mystique
- 081D19
≈ Black Stallion
Tetrada +90° +180° +270°
- 20141F
Shot in the Dark
- 22160B
≈ Noir Mystique
- 0F1C12
≈ Pinch of Pepper
- 0C1A24
≈ Black Stallion
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.77:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.18:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #20141f;
--shot-in-the-dark-rgb: 32 20 31;
--shot-in-the-dark-oklch: oklch(0.212 0.028 329.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(305 23% 10%);
border-color: oklch(0.212 0.028 329.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #20141f;
--color-shot-in-the-dark-50: #faf2f9;
--color-shot-in-the-dark-100: #eee5ec;
--color-shot-in-the-dark-200: #dcd0da;
--color-shot-in-the-dark-300: #c0b2be;
--color-shot-in-the-dark-400: #a899a7;
--color-shot-in-the-dark-500: #91808f;
--color-shot-in-the-dark-600: #7b6c79;
--color-shot-in-the-dark-700: #625661;
--color-shot-in-the-dark-800: #483f47;
--color-shot-in-the-dark-900: #322b31;
--color-shot-in-the-dark-950: #1e191d;
}SCSS
$shot-in-the-dark: #20141f;
$shot-in-the-dark-rgb: 32, 20, 31;
$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);
}