Colore con nome più vicino · #221222
#221222
Colore con nome più vicino: Shot in the Dark
#221222 (rgb(34 18 34), hsl(300 31% 10%), oklch(0.212 0.039 326.8)) è più vicino al colore con nome Shot in the Dark. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#221222
oklch(0.212 0.039 326.8)
Conversioni di colore
- HEX
- #221222
- RGB
- rgb(34 18 34)
- HSL
- hsl(300 31% 10%)
- HWB
- hwb(300 7% 87%)
- OKLCH
- oklch(0.212 0.039 326.8)
- OKLab
- oklab(0.212 0.032 -0.021)
- CIE Lab
- lab(8.01 11.06 -7.74)
- LCH
- lch(8.01 13.5 325)
- CMYK
- cmyk(0% 47% 0% 87%)
Tinte · Ombre · Toni
Tinte
- 352535
- 493A48
- 5D505D
- 726672
- 887E88
- 9F979F
- B6B0B6
- CECACE
- E6E4E6
Ombre
- 1C0E1C
- 160A16
- 110711
- 0B040B
- 070207
- 030103
- 010101
- 000000
- 000000
Toni
- 2B1C2B
- 342633
- 3D303C
- 463B45
- 4F464F
- 595158
- 625C62
- 6C686C
- 767476
Armonie di colore
Complementare +180°
- 221222
Shot in the Dark
- 0C1D0E
≈ Pinch of Pepper
Analogo -30° +30°
- 221222
Shot in the Dark
- 1B1528
≈ Sambucus
- 271119
≈ Italian Roast
Triadico +120° +240°
- 221222
Shot in the Dark
- 201702
≈ Noir Mystique
- 001D21
≈ Stellar Explorer
Complementare divisa +150° +210°
- 221222
Shot in the Dark
- 181B05
≈ Noir Mystique
- 001E18
≈ Stellar Explorer
Tetradico +90° +180° +270°
- 221222
Shot in the Dark
- 261406
≈ Cannon Black
- 0C1D0E
≈ Pinch of Pepper
- 041B28
≈ Oxford by Night
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 17.83:1 · APCA Lc 105
Ag
FailSu nero
WCAG 1.17:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 105
Contrast pairs
Frammenti di codice
CSS
:root {
--shot-in-the-dark: #221222;
--shot-in-the-dark-rgb: 34 18 34;
--shot-in-the-dark-oklch: oklch(0.212 0.039 326.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(300 31% 10%);
border-color: oklch(0.212 0.039 326.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #221222;
--color-shot-in-the-dark-50: #fcf1fb;
--color-shot-in-the-dark-100: #f0e3ee;
--color-shot-in-the-dark-200: #decfdd;
--color-shot-in-the-dark-300: #c3b1c1;
--color-shot-in-the-dark-400: #ab97ab;
--color-shot-in-the-dark-500: #947e94;
--color-shot-in-the-dark-600: #7e6a7d;
--color-shot-in-the-dark-700: #645564;
--color-shot-in-the-dark-800: #493e4a;
--color-shot-in-the-dark-900: #332b33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #221222;
$shot-in-the-dark-rgb: 34, 18, 34;
$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);
}