Màu có tên gần nhất · #1F1323
#1F1323
Màu có tên gần nhất: Shot in the Dark
#1F1323 (rgb(31 19 35), hsl(285 30% 11%), oklch(0.21 0.035 317.5)) gần nhất với màu có tên Shot in the Dark. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#1F1323
oklch(0.21 0.035 317.5)
Chuyển đổi màu
- HEX
- #1f1323
- RGB
- rgb(31 19 35)
- HSL
- hsl(285 30% 11%)
- HWB
- hwb(285 7% 86%)
- OKLCH
- oklch(0.21 0.035 317.5)
- OKLab
- oklab(0.21 0.026 -0.024)
- CIE Lab
- lab(7.89 9.19 -8.72)
- LCH
- lch(7.89 12.67 316.5)
- CMYK
- cmyk(11% 46% 0% 86%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 322636
- 463B49
- 5A505E
- 706773
- 867F89
- 9D979F
- B5B0B7
- CDCACE
- E6E4E6
Sắc đậm
- 190F1D
- 140B17
- 0F0711
- 0A050C
- 060307
- 030104
- 010101
- 000000
- 000000
Sắc xám
- 281D2C
- 312734
- 3A313D
- 433B46
- 4D464F
- 575159
- 615D62
- 6B686C
- 757476
Hòa sắc
Bổ túc +180°
- 1F1323
Shot in the Dark
- 101C0C
≈ Pinch of Pepper
Tương đồng -30° +30°
- 1F1323
Shot in the Dark
- 171628
≈ Sambucus
- 24111B
≈ Inside
Bộ ba +120° +240°
- 1F1323
Shot in the Dark
- 211604
≈ Noir Mystique
- 001D1E
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 1F1323
Shot in the Dark
- 1A1905
≈ Noir Mystique
- 051D15
≈ Pinch of Pepper
Bộ bốn +90° +180° +270°
- 1F1323
Shot in the Dark
- 261309
≈ Severely Burnt Toast
- 101C0C
≈ Pinch of Pepper
- 041B25
≈ Creeping Death
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.86:1 · APCA Lc 105
Ag
FailTrên nền đen
WCAG 1.17:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 105
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #1f1323;
--shot-in-the-dark-rgb: 31 19 35;
--shot-in-the-dark-oklch: oklch(0.21 0.035 317.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(285 30% 11%);
border-color: oklch(0.21 0.035 317.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1f1323;
--color-shot-in-the-dark-50: #faf2fc;
--color-shot-in-the-dark-100: #ede4ef;
--color-shot-in-the-dark-200: #dbd0de;
--color-shot-in-the-dark-300: #c0b2c3;
--color-shot-in-the-dark-400: #a798ac;
--color-shot-in-the-dark-500: #907f96;
--color-shot-in-the-dark-600: #7a6c7f;
--color-shot-in-the-dark-700: #625665;
--color-shot-in-the-dark-800: #473f4b;
--color-shot-in-the-dark-900: #312b34;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1f1323;
$shot-in-the-dark-rgb: 31, 19, 35;
$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);
}