Najbliższy nazwany kolor · #281626
#281626
Najbliższy nazwany kolor: Shot in the Dark
#281626 (rgb(40 22 38), hsl(307 29% 12%), oklch(0.232 0.04 330.8)) jest najbliższy nazwanemu kolorowi Shot in the Dark. Zobacz odcienie, harmonie, kontrast WCAG i APCA oraz kod CSS, Tailwind v4 i SCSS.
#281626
oklch(0.232 0.04 330.8)
Konwersje koloru
- HEX
- #281626
- RGB
- rgb(40 22 38)
- HSL
- hsl(307 29% 12%)
- HWB
- hwb(307 9% 84%)
- OKLCH
- oklch(0.232 0.04 330.8)
- OKLab
- oklab(0.232 0.035 -0.02)
- CIE Lab
- lab(10.29 11.8 -7.15)
- LCH
- lch(10.29 13.79 328.8)
- CMYK
- cmyk(0% 45% 5% 84%)
Odcienie jaśniejsze · Odcienie ciemniejsze · Tony
Odcienie jaśniejsze
- 3B2938
- 4E3E4C
- 625360
- 776A75
- 8C818B
- A299A1
- B9B1B8
- D0CBCF
- E7E5E7
Odcienie ciemniejsze
- 211220
- 1B0D19
- 150913
- 0F060D
- 090308
- 040204
- 020102
- 010001
- 000000
Tony
- 30202E
- 392937
- 41333F
- 4A3E48
- 534851
- 5B535A
- 645E63
- 6E696D
- 777476
Harmonie kolorów
Komplementarna +180°
- 281626
Shot in the Dark
- 0E2313
≈ Nightmare
Analogowa -30° +30°
- 281626
Shot in the Dark
- 20192D
≈ Sambucus
- 2D151C
≈ Black Cherry
Triada +120° +240°
- 281626
Shot in the Dark
- 241C05
≈ Cannon Black
- 002228
≈ Teal Spill
Komplementarna rozszczepiona +150° +210°
- 281626
Shot in the Dark
- 1B2009
≈ Midnight Pines
- 02231E
≈ Stellar Explorer
Tetrada +90° +180° +270°
- 281626
Shot in the Dark
- 2B1808
≈ Zinnwaldite Brown
- 0E2313
≈ Nightmare
- 091F2E
≈ The Count’s Black
Kontrast i dostępność
Ag
AAANa bieli
WCAG 17.03:1 · APCA Lc 104
Ag
FailNa czerni
WCAG 1.23:1 · APCA Lc 0
Najlepszy kolor tekstu: #FFFFFF
WCAG 17.03:1 (AAA) · APCA Lc 104
Contrast pairs
Fragmenty kodu
CSS
:root {
--shot-in-the-dark: #281626;
--shot-in-the-dark-rgb: 40 22 38;
--shot-in-the-dark-oklch: oklch(0.232 0.04 330.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(307 29% 12%);
border-color: oklch(0.232 0.04 330.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #281626;
--color-shot-in-the-dark-50: #fdf1fa;
--color-shot-in-the-dark-100: #f1e3ee;
--color-shot-in-the-dark-200: #dfcedc;
--color-shot-in-the-dark-300: #c5b0c0;
--color-shot-in-the-dark-400: #ad96aa;
--color-shot-in-the-dark-500: #967d93;
--color-shot-in-the-dark-600: #7f6a7c;
--color-shot-in-the-dark-700: #665463;
--color-shot-in-the-dark-800: #4a3e49;
--color-shot-in-the-dark-900: #342a33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #281626;
$shot-in-the-dark-rgb: 40, 22, 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);
}