Màu có tên gần nhất · #1B1428
#1B1428
Màu có tên gần nhất: Shot in the Dark
#1B1428 (rgb(27 20 40), hsl(261 33% 12%), oklch(0.211 0.04 299.1)) 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.
#1B1428
oklch(0.211 0.04 299.1)
Chuyển đổi màu
- HEX
- #1b1428
- RGB
- rgb(27 20 40)
- HSL
- hsl(261 33% 12%)
- HWB
- hwb(261 8% 84%)
- OKLCH
- oklch(0.211 0.04 299.1)
- OKLab
- oklab(0.211 0.019 -0.035)
- CIE Lab
- lab(7.89 7.86 -12.52)
- LCH
- lch(7.89 14.78 302.1)
- CMYK
- cmyk(33% 50% 0% 84%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 2E273B
- 413C4E
- 565162
- 6C6877
- 837F8C
- 9B98A2
- B3B0B9
- CCCAD0
- E5E4E7
Sắc đậm
- 161021
- 110C1B
- 0C0815
- 08050F
- 050309
- 020104
- 010102
- 000001
- 000000
Sắc xám
- 241E30
- 2D2839
- 373241
- 403C4A
- 4A4753
- 55525B
- 5F5D64
- 6A696E
- 757477
Hòa sắc
Bổ túc +180°
- 1B1428
Shot in the Dark
- 161B05
≈ Pinch of Pepper
Tương đồng -30° +30°
- 1B1428
Shot in the Dark
- 11172B
≈ Sambucus
- 221121
≈ Inside
Bộ ba +120° +240°
- 1B1428
Shot in the Dark
- 261305
≈ Severely Burnt Toast
- 001E19
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 1B1428
Shot in the Dark
- 201702
≈ Noir Mystique
- 0A1D0E
≈ Pinch of Pepper
Bộ bốn +90° +180° +270°
- 1B1428
Shot in the Dark
- 28110E
≈ Root Brew
- 161B05
≈ Pinch of Pepper
- 001D21
≈ Stellar Explorer
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.83: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.83:1 (AAA) · APCA Lc 105
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #1b1428;
--shot-in-the-dark-rgb: 27 20 40;
--shot-in-the-dark-oklch: oklch(0.211 0.04 299.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(261 33% 12%);
border-color: oklch(0.211 0.04 299.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1b1428;
--color-shot-in-the-dark-50: #f7f3ff;
--color-shot-in-the-dark-100: #eae5f3;
--color-shot-in-the-dark-200: #d7d1e3;
--color-shot-in-the-dark-300: #bbb3c9;
--color-shot-in-the-dark-400: #a19ab3;
--color-shot-in-the-dark-500: #89819d;
--color-shot-in-the-dark-600: #746d85;
--color-shot-in-the-dark-700: #5d576b;
--color-shot-in-the-dark-800: #44404f;
--color-shot-in-the-dark-900: #2f2c37;
--color-shot-in-the-dark-950: #1b1922;
}SCSS
$shot-in-the-dark: #1b1428;
$shot-in-the-dark-rgb: 27, 20, 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);
}