Warna bernama terdekat · #041C04
#041C04
Warna bernama terdekat: Nightmare
#041C04 (rgb(4 28 4), hsl(120 75% 6%), oklch(0.2 0.056 143.1)) paling mendekati warna bernama Nightmare. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#041C04
oklch(0.2 0.056 143.1)
Konversi warna
- HEX
- #041c04
- RGB
- rgb(4 28 4)
- HSL
- hsl(120 75% 6%)
- HWB
- hwb(120 2% 89%)
- OKLCH
- oklch(0.2 0.056 143.1)
- OKLab
- oklab(0.2 -0.045 0.033)
- CIE Lab
- lab(7.83 -12.85 9.7)
- LCH
- lch(7.83 16.1 142.9)
- CMYK
- cmyk(86% 0% 86% 89%)
Tint · Shade · Tone
Tint
- 192F18
- 2F432E
- 465845
- 5E6E5D
- 778576
- 919C90
- ABB4AA
- C6CCC6
- E2E5E2
Shade
- 031703
- 021202
- 010D01
- 010801
- 000501
- 000200
- 000100
- 000000
- 000000
Tone
- 0F250E
- 1B2E1A
- 273826
- 334232
- 3F4C3E
- 4B564B
- 586058
- 656B65
- 727572
Harmoni warna
Komplementer +180°
- 041C04
Nightmare
- 220C24
≈ Meški Black
Analog -30° +30°
- 041C04
Nightmare
- 161800
≈ Pinch of Pepper
- 001B14
≈ Pinch of Pepper
Triadik +120° +240°
- 041C04
Nightmare
- 08152F
≈ Liberty Blue
- 2B0909
≈ Root Brew
Split-komplementer +150° +210°
- 041C04
Nightmare
- 18102D
≈ Midnight Monarch
- 280918
≈ Meški Black
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.90:1 · APCA Lc 105
Ag
FailDi atas hitam
WCAG 1.17:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.90:1 (AAA) · APCA Lc 105
Contrast pairs
Cuplikan kode
CSS
:root {
--nightmare: #041c04;
--nightmare-rgb: 4 28 4;
--nightmare-oklch: oklch(0.2 0.056 143.1);
}
.element {
color: var(--nightmare);
background-color: hsl(120 75% 6%);
border-color: oklch(0.2 0.056 143.1);
}Tailwind CSS v4
@theme {
--color-nightmare: #041c04;
--color-nightmare-50: #ecfaec;
--color-nightmare-100: #ddeddd;
--color-nightmare-200: #c6dbc6;
--color-nightmare-300: #a6bfa6;
--color-nightmare-400: #8ca789;
--color-nightmare-500: #71906e;
--color-nightmare-600: #5f7a5e;
--color-nightmare-700: #4c624b;
--color-nightmare-800: #384735;
--color-nightmare-900: #263124;
--color-nightmare-950: #141d13;
}SCSS
$nightmare: #041c04;
$nightmare-rgb: 4, 28, 4;
$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);
}