Dichtstbijzijnde benoemde kleur · #1F1228
#1F1228
Dichtstbijzijnde benoemde kleur: Shot in the Dark
#1F1228 (rgb(31 18 40), hsl(275 38% 11%), oklch(0.211 0.046 310.2)) komt het dichtst bij de benoemde kleur Shot in the Dark. Bekijk tinten, schaduwen, harmonieën, WCAG- en APCA-contrast en CSS-, Tailwind v4- en SCSS-code.
#1F1228
oklch(0.211 0.046 310.2)
Kleurconversies
- HEX
- #1f1228
- RGB
- rgb(31 18 40)
- HSL
- hsl(275 38% 11%)
- HWB
- hwb(275 7% 84%)
- OKLCH
- oklch(0.211 0.046 310.2)
- OKLab
- oklab(0.211 0.029 -0.035)
- CIE Lab
- lab(7.83 10.98 -12.56)
- LCH
- lch(7.83 16.68 311.1)
- CMYK
- cmyk(22% 55% 0% 84%)
Tinten · Schaduwen · Tonen
Tinten
- 32263B
- 453A4E
- 5A5062
- 706777
- 867E8C
- 9D97A2
- B5B0B9
- CDCAD0
- E6E4E7
Schaduwen
- 190E21
- 140A1B
- 0F0715
- 0A040F
- 060209
- 030104
- 010102
- 000001
- 000000
Tonen
- 281C30
- 312639
- 3A3041
- 433B4A
- 4D4653
- 57515B
- 615C64
- 6B686E
- 757477
Kleurharmonieën
Complementair +180°
- 1F1228
Shot in the Dark
- 111D05
≈ Nightmare
Analoog -30° +30°
- 1F1228
Shot in the Dark
- 15162D
≈ Sambucus
- 260F1F
≈ Inside
Triadisch +120° +240°
- 1F1228
Shot in the Dark
- 261400
≈ Cannon Black
- 001E1C
≈ Stellar Explorer
Gesplitst complementair +150° +210°
- 1F1228
Shot in the Dark
- 1D1900
≈ Noir Mystique
- 011F11
≈ Clock Chimes Thirteen
Tetradisch +90° +180° +270°
- 1F1228
Shot in the Dark
- 2A1007
≈ Root Brew
- 111D05
≈ Nightmare
- 001C25
≈ Creeping Death
Contrast en toegankelijkheid
Ag
AAAOp wit
WCAG 17.86:1 · APCA Lc 105
Ag
FailOp zwart
WCAG 1.17:1 · APCA Lc 0
Beste tekstkleur: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
Codefragmenten
CSS
:root {
--shot-in-the-dark: #1f1228;
--shot-in-the-dark-rgb: 31 18 40;
--shot-in-the-dark-oklch: oklch(0.211 0.046 310.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(275 38% 11%);
border-color: oklch(0.211 0.046 310.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1228;
--color-shot-in-the-dark-50: #faf2ff;
--color-shot-in-the-dark-100: #ede4f3;
--color-shot-in-the-dark-200: #dbcfe3;
--color-shot-in-the-dark-300: #bfb1c9;
--color-shot-in-the-dark-400: #a797b3;
--color-shot-in-the-dark-500: #907e9d;
--color-shot-in-the-dark-600: #796b85;
--color-shot-in-the-dark-700: #61556a;
--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: #1f1228;
$shot-in-the-dark-rgb: 31, 18, 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);
}