Colore con nome più vicino · #1F1229
#1F1229
Colore con nome più vicino: Shot in the Dark
#1F1229 (rgb(31 18 41), hsl(274 39% 12%), oklch(0.212 0.047 308.9)) è 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.
#1F1229
oklch(0.212 0.047 308.9)
Conversioni di colore
- HEX
- #1f1229
- RGB
- rgb(31 18 41)
- HSL
- hsl(274 39% 12%)
- HWB
- hwb(274 7% 84%)
- OKLCH
- oklch(0.212 0.047 308.9)
- OKLab
- oklab(0.212 0.03 -0.037)
- CIE Lab
- lab(7.88 11.21 -13.23)
- LCH
- lch(7.88 17.34 310.3)
- CMYK
- cmyk(24% 56% 0% 84%)
Tinte · Ombre · Toni
Tinte
- 32263C
- 453A4F
- 5A5063
- 706778
- 867E8D
- 9D97A3
- B5B0B9
- CDCAD0
- E6E4E7
Ombre
- 190E22
- 140A1C
- 0F0715
- 0A040F
- 060209
- 030105
- 010102
- 000001
- 000000
Toni
- 281C31
- 31263A
- 3A3042
- 433B4B
- 4D4653
- 57515C
- 615D65
- 6B686E
- 757477
Armonie di colore
Complementare +180°
- 1F1229
Shot in the Dark
- 121D04
≈ Yuzu Soy
Analogo -30° +30°
- 1F1229
Shot in the Dark
- 14162E
≈ Lost in Sadness
- 260F20
≈ Inside
Triadico +120° +240°
- 1F1229
Shot in the Dark
- 261400
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Complementare divisa +150° +210°
- 1F1229
Shot in the Dark
- 1E1900
≈ Noir Mystique
- 011F10
≈ Clock Chimes Thirteen
Tetradico +90° +180° +270°
- 1F1229
Shot in the Dark
- 2A1007
≈ Root Brew
- 121D04
≈ Yuzu Soy
- 001D25
≈ Oxford by Night
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 17.84:1 · APCA Lc 105
Ag
FailSu nero
WCAG 1.17:1 · APCA Lc 0
Miglior colore del testo: #FFFFFF
WCAG 17.84:1 (AAA) · APCA Lc 105
Contrast pairs
Frammenti di codice
CSS
:root {
--shot-in-the-dark: #1f1229;
--shot-in-the-dark-rgb: 31 18 41;
--shot-in-the-dark-oklch: oklch(0.212 0.047 308.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(274 39% 12%);
border-color: oklch(0.212 0.047 308.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1229;
--color-shot-in-the-dark-50: #f9f2ff;
--color-shot-in-the-dark-100: #ede4f4;
--color-shot-in-the-dark-200: #dbcfe3;
--color-shot-in-the-dark-300: #bfb1ca;
--color-shot-in-the-dark-400: #a697b4;
--color-shot-in-the-dark-500: #8f7e9e;
--color-shot-in-the-dark-600: #796b86;
--color-shot-in-the-dark-700: #61556b;
--color-shot-in-the-dark-800: #473e4f;
--color-shot-in-the-dark-900: #312b37;
--color-shot-in-the-dark-950: #1d1822;
}SCSS
$shot-in-the-dark: #1f1229;
$shot-in-the-dark-rgb: 31, 18, 41;
$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);
}