Colore con nome più vicino · #221128
#221128
Colore con nome più vicino: Shot in the Dark
#221128 (rgb(34 17 40), hsl(284 40% 11%), oklch(0.213 0.049 316.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.
#221128
oklch(0.213 0.049 316.8)
Conversioni di colore
- HEX
- #221128
- RGB
- rgb(34 17 40)
- HSL
- hsl(284 40% 11%)
- HWB
- hwb(284 7% 84%)
- OKLCH
- oklch(0.213 0.049 316.8)
- OKLab
- oklab(0.213 0.036 -0.034)
- CIE Lab
- lab(8.01 12.94 -12.25)
- LCH
- lch(8.01 17.82 316.6)
- CMYK
- cmyk(15% 58% 0% 84%)
Tinte · Ombre · Toni
Tinte
- 35253B
- 48394E
- 5D4F62
- 726677
- 887E8C
- 9F96A2
- B6B0B9
- CEC9D0
- E6E4E7
Ombre
- 1C0D21
- 16091B
- 110615
- 0B040F
- 070209
- 030104
- 010002
- 000001
- 000000
Toni
- 2B1B30
- 332539
- 3C3041
- 463A4A
- 4F4553
- 58515B
- 625C64
- 6C686D
- 767477
Armonie di colore
Complementare +180°
- 221128
Shot in the Dark
- 0D1E06
≈ Clock Chimes Thirteen
Analogo -30° +30°
- 221128
Shot in the Dark
- 18152E
≈ Lost in Sadness
- 290E1D
≈ Inside
Triadico +120° +240°
- 221128
Shot in the Dark
- 241600
≈ Cannon Black
- 001E1F
≈ Stellar Explorer
Complementare divisa +150° +210°
- 221128
Shot in the Dark
- 1C1A00
≈ Noir Mystique
- 001F15
≈ Clock Chimes Thirteen
Tetradico +90° +180° +270°
- 221128
Shot in the Dark
- 2B1104
≈ Shadow Play
- 0D1E06
≈ Clock Chimes Thirteen
- 001D28
≈ Oxford by Night
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 17.81:1 · APCA Lc 104
Ag
FailSu nero
WCAG 1.17:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Frammenti di codice
CSS
:root {
--shot-in-the-dark: #221128;
--shot-in-the-dark-rgb: 34 17 40;
--shot-in-the-dark-oklch: oklch(0.213 0.049 316.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(284 40% 11%);
border-color: oklch(0.213 0.049 316.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #221128;
--color-shot-in-the-dark-50: #fbf1fe;
--color-shot-in-the-dark-100: #efe3f3;
--color-shot-in-the-dark-200: #decee2;
--color-shot-in-the-dark-300: #c3b0c8;
--color-shot-in-the-dark-400: #aa96b2;
--color-shot-in-the-dark-500: #947c9c;
--color-shot-in-the-dark-600: #7d6984;
--color-shot-in-the-dark-700: #64546a;
--color-shot-in-the-dark-800: #493d4e;
--color-shot-in-the-dark-900: #332a37;
--color-shot-in-the-dark-950: #1e1821;
}SCSS
$shot-in-the-dark: #221128;
$shot-in-the-dark-rgb: 34, 17, 40;
$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);
}