Najbliższy nazwany kolor · #210F1C
#210F1C
Najbliższy nazwany kolor: Shot in the Dark
#210F1C (rgb(33 15 28), hsl(317 38% 9%), oklch(0.2 0.038 338.1)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#210F1C
oklch(0.2 0.038 338.1)
Konwersje koloru
- HEX
- #210f1c
- RGB
- rgb(33 15 28)
- HSL
- hsl(317 38% 9%)
- HWB
- hwb(317 6% 87%)
- OKLCH
- oklch(0.2 0.038 338.1)
- OKLab
- oklab(0.2 0.035 -0.014)
- CIE Lab
- lab(6.79 11.3 -5.02)
- LCH
- lch(6.79 12.37 336.1)
- CMYK
- cmyk(0% 55% 15% 87%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 34222F
- 483743
- 5D4D58
- 72646E
- 887C84
- 9F959C
- B6AEB4
- CEC9CC
- E6E4E5
Odcienie ciemniejsze
- 1B0B17
- 160812
- 10050D
- 0B0308
- 060205
- 030102
- 010001
- 000000
- 000000
Tony
- 2A1925
- 33232E
- 3C2E38
- 453941
- 4F444B
- 584F55
- 625B60
- 6C676A
- 767475
Harmonie kolorów
Komplementarna +180°
- 210F1C
Shot in the Dark
- 051B0F
≈ Pinch of Pepper
Analogowa -30° +30°
- 210F1C
Shot in the Dark
- 1B1123
≈ Shot in the Dark
- 240E13
≈ Italian Roast
Triada +120° +240°
- 210F1C
Shot in the Dark
- 1B1602
≈ Noir Mystique
- 001A21
≈ Creeping Death
Komplementarna rozszczepiona +150° +210°
- 210F1C
Shot in the Dark
- 111906
≈ Pinch of Pepper
- 001B19
≈ Black Stallion
Tetrada +90° +180° +270°
- 210F1C
Shot in the Dark
- 211203
≈ Super Black
- 051B0F
≈ Pinch of Pepper
- 071726
≈ Creeping Death
Kontrast i dostępność
Ag
AAANa bieli
WCAG 18.26:1 · APCA Lc 105
Ag
FailNa czerni
WCAG 1.14:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 18.26:1 (AAA) · APCA Lc 105
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #210f1c;
--shot-in-the-dark-rgb: 33 15 28;
--shot-in-the-dark-oklch: oklch(0.2 0.038 338.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(317 38% 9%);
border-color: oklch(0.2 0.038 338.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #210f1c;
--color-shot-in-the-dark-50: #fdf1f8;
--color-shot-in-the-dark-100: #f1e3ec;
--color-shot-in-the-dark-200: #e0ced9;
--color-shot-in-the-dark-300: #c5b0bd;
--color-shot-in-the-dark-400: #ae96a6;
--color-shot-in-the-dark-500: #977d8f;
--color-shot-in-the-dark-600: #806a79;
--color-shot-in-the-dark-700: #675561;
--color-shot-in-the-dark-800: #4b3e47;
--color-shot-in-the-dark-900: #342a31;
--color-shot-in-the-dark-950: #20181d;
}SCSS
$shot-in-the-dark: #210f1c;
$shot-in-the-dark-rgb: 33, 15, 28;
$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);
}