Màu có tên gần nhất · #241120
#241120
Màu có tên gần nhất: Shot in the Dark
#241120 (rgb(36 17 32), hsl(313 36% 10%), oklch(0.212 0.041 335.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.
#241120
oklch(0.212 0.041 335.1)
Chuyển đổi màu
- HEX
- #241120
- RGB
- rgb(36 17 32)
- HSL
- hsl(313 36% 10%)
- HWB
- hwb(313 7% 86%)
- OKLCH
- oklch(0.212 0.041 335.1)
- OKLab
- oklab(0.212 0.037 -0.017)
- CIE Lab
- lab(7.97 12.3 -6.25)
- LCH
- lch(7.97 13.8 333.1)
- CMYK
- cmyk(0% 53% 11% 86%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 372433
- 4B3946
- 5F4F5B
- 746671
- 8A7E87
- A0969E
- B7AFB5
- CFC9CD
- E7E4E6
Sắc đậm
- 1E0D1A
- 180915
- 12060F
- 0C040A
- 070206
- 040103
- 020001
- 000000
- 000000
Sắc xám
- 2D1B29
- 352532
- 3E2F3B
- 473A44
- 51454E
- 5A5157
- 635C61
- 6D686B
- 767476
Hòa sắc
Bổ túc +180°
- 241120
Shot in the Dark
- 071E10
≈ Clock Chimes Thirteen
Tương đồng -30° +30°
- 241120
Shot in the Dark
- 1D1328
≈ Inside
- 281016
≈ Italian Roast
Bộ ba +120° +240°
- 241120
Shot in the Dark
- 1F1801
≈ Noir Mystique
- 001D23
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 241120
Shot in the Dark
- 141C06
≈ Pinch of Pepper
- 001E1B
≈ Stellar Explorer
Bộ bốn +90° +180° +270°
- 241120
Shot in the Dark
- 251403
≈ Cannon Black
- 071E10
≈ Clock Chimes Thirteen
- 061A2A
≈ Oxford by Night
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.85: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.85:1 (AAA) · APCA Lc 105
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #241120;
--shot-in-the-dark-rgb: 36 17 32;
--shot-in-the-dark-oklch: oklch(0.212 0.041 335.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(313 36% 10%);
border-color: oklch(0.212 0.041 335.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #241120;
--color-shot-in-the-dark-50: #fdf1f9;
--color-shot-in-the-dark-100: #f1e3ed;
--color-shot-in-the-dark-200: #e0cedb;
--color-shot-in-the-dark-300: #c6b0bf;
--color-shot-in-the-dark-400: #ae96a8;
--color-shot-in-the-dark-500: #987c91;
--color-shot-in-the-dark-600: #80697b;
--color-shot-in-the-dark-700: #675462;
--color-shot-in-the-dark-800: #4b3d48;
--color-shot-in-the-dark-900: #342a32;
--color-shot-in-the-dark-950: #20181e;
}SCSS
$shot-in-the-dark: #241120;
$shot-in-the-dark-rgb: 36, 17, 32;
$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);
}