Warna bernama terdekat · #040160
#040160
Warna bernama terdekat: Alone in the Dark
#040160 (rgb(4 1 96), hsl(242 98% 19%), oklch(0.225 0.151 266.3)) paling mendekati warna bernama Alone in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#040160
oklch(0.225 0.151 266.3)
Konversi warna
- HEX
- #040160
- RGB
- rgb(4 1 96)
- HSL
- hsl(242 98% 19%)
- HWB
- hwb(242 0% 62%)
- OKLCH
- oklch(0.225 0.151 266.3)
- OKLab
- oklab(0.225 -0.01 -0.15)
- CIE Lab
- lab(6.85 32.63 -53.84)
- LCH
- lch(6.85 62.96 301.2)
- CMYK
- cmyk(96% 99% 0% 62%)
Tint · Shade · Tone
Tint
- 0F2371
- 243C81
- 3C5492
- 556BA2
- 6F83B2
- 8A9BC2
- A6B3D1
- C3CCE1
- E1E5F0
Shade
- 030152
- 020145
- 010038
- 01002C
- 000020
- 000015
- 00000A
- 000003
- 000000
Tone
- 071765
- 122669
- 1E326D
- 2A3E71
- 384974
- 465477
- 545F7A
- 626A7C
- 71757E
Harmoni warna
Komplementer +180°
- 040160
Alone in the Dark
- 251A00
≈ Cannon Black
Analog -30° +30°
- 040160
Alone in the Dark
- 001F2F
≈ Cyanophobia
- 24004C
≈ Your Darkness
Triadik +120° +240°
- 040160
Alone in the Dark
- 3C0003
≈ Dark Maroon
- 002306
≈ Rainforest Nights
Split-komplementer +150° +210°
- 040160
Alone in the Dark
- 2E1300
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
Tetradik +90° +180° +270°
- 040160
Alone in the Dark
- 39001D
≈ Rhodophobia
- 251A00
≈ Cannon Black
- 00221B
≈ Stellar Explorer
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.82:1 · APCA Lc 103
Ag
FailDi atas hitam
WCAG 1.17:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 103
Contrast pairs
Cuplikan kode
CSS
:root {
--alone-in-the-dark: #040160;
--alone-in-the-dark-rgb: 4 1 96;
--alone-in-the-dark-oklch: oklch(0.225 0.151 266.3);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(242 98% 19%);
border-color: oklch(0.225 0.151 266.3);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #040160;
--color-alone-in-the-dark-50: #e3f5ff;
--color-alone-in-the-dark-100: #d2e7ff;
--color-alone-in-the-dark-200: #b9d2ff;
--color-alone-in-the-dark-300: #97b4ff;
--color-alone-in-the-dark-400: #759af7;
--color-alone-in-the-dark-500: #577fe9;
--color-alone-in-the-dark-600: #4a6cc4;
--color-alone-in-the-dark-700: #3b569e;
--color-alone-in-the-dark-800: #273f76;
--color-alone-in-the-dark-900: #1a2c53;
--color-alone-in-the-dark-950: #0b1838;
}SCSS
$alone-in-the-dark: #040160;
$alone-in-the-dark-rgb: 4, 1, 96;
$alone-in-the-dark-light: mix(#fff, $alone-in-the-dark, 20%);
$alone-in-the-dark-dark: mix(#000, $alone-in-the-dark, 20%);
.element {
color: $alone-in-the-dark;
box-shadow: 0 0 0 2px rgba($alone-in-the-dark, 0.35);
}