Dichtstbijzijnde benoemde kleur · #182418
#182418
Dichtstbijzijnde benoemde kleur: Nightmare
#182418 (rgb(24 36 24), hsl(120 20% 12%), oklch(0.245 0.028 144.7)) komt het dichtst bij de benoemde kleur Nightmare. Bekijk tinten, schaduwen, harmonieën, WCAG- en APCA-contrast en CSS-, Tailwind v4- en SCSS-code.
#182418
oklch(0.245 0.028 144.7)
Kleurconversies
- HEX
- #182418
- RGB
- rgb(24 36 24)
- HSL
- hsl(120 20% 12%)
- HWB
- hwb(120 9% 86%)
- OKLCH
- oklch(0.245 0.028 144.7)
- OKLab
- oklab(0.245 -0.023 0.016)
- CIE Lab
- lab(12.76 -7.81 6.3)
- LCH
- lch(12.76 10.03 141.1)
- CMYK
- cmyk(33% 0% 33% 86%)
Tinten · Schaduwen · Tonen
Tinten
- 2B362B
- 3F4A3F
- 555E54
- 6B736B
- 828982
- 9AA099
- B2B7B2
- CBCECB
- E5E6E5
Schaduwen
- 131E13
- 0F180F
- 0A120A
- 070C07
- 040704
- 020402
- 010201
- 000000
- 000000
Tonen
- 212C21
- 2B352B
- 353E35
- 3F473F
- 495049
- 545954
- 5F635E
- 696C69
- 757675
Kleurharmonieën
Complementair +180°
- 182418
Nightmare
- 271C28
≈ To Hell and Black
Analoog -30° +30°
- 182418
Nightmare
- 202212
≈ Black Mesa
- 11251F
≈ Deep Slate Green
Triadisch +120° +240°
- 182418
Nightmare
- 1A202E
≈ Hēi Sè Black
- 2D1B1A
≈ Tetsu-Guro Black
Gesplitst complementair +150° +210°
- 182418
Nightmare
- 211E2D
≈ Black Howl
- 2B1B21
≈ Black Cherry
Tetradisch +90° +180° +270°
Contrast en toegankelijkheid
Ag
AAAOp wit
WCAG 16.09:1 · APCA Lc 103
Ag
FailOp zwart
WCAG 1.30:1 · APCA Lc 0
Beste tekstkleur: #FFFFFF
WCAG 16.09:1 (AAA) · APCA Lc 103
Contrast pairs
Codefragmenten
CSS
:root {
--nightmare: #182418;
--nightmare-rgb: 24 36 24;
--nightmare-oklch: oklch(0.245 0.028 144.7);
}
.element {
color: var(--nightmare);
background-color: hsl(120 20% 12%);
border-color: oklch(0.245 0.028 144.7);
}Tailwind CSS v4
@theme {
--color-nightmare: #182418;
--color-nightmare-50: #f0f7f0;
--color-nightmare-100: #e2ebe2;
--color-nightmare-200: #cdd8cd;
--color-nightmare-300: #afbcaf;
--color-nightmare-400: #95a394;
--color-nightmare-500: #7b8b7b;
--color-nightmare-600: #687668;
--color-nightmare-700: #535e53;
--color-nightmare-800: #3d453c;
--color-nightmare-900: #2a3029;
--color-nightmare-950: #171c17;
}SCSS
$nightmare: #182418;
$nightmare-rgb: 24, 36, 24;
$nightmare-light: mix(#fff, $nightmare, 20%);
$nightmare-dark: mix(#000, $nightmare, 20%);
.element {
color: $nightmare;
box-shadow: 0 0 0 2px rgba($nightmare, 0.35);
}