Màu có tên gần nhất · #231220
#231220
Màu có tên gần nhất: Shot in the Dark
#231220 (rgb(35 18 32), hsl(311 32% 10%), oklch(0.212 0.037 333.4)) 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.
#231220
oklch(0.212 0.037 333.4)
Chuyển đổi màu
- HEX
- #231220
- RGB
- rgb(35 18 32)
- HSL
- hsl(311 32% 10%)
- HWB
- hwb(311 7% 86%)
- OKLCH
- oklch(0.212 0.037 333.4)
- OKLab
- oklab(0.212 0.033 -0.017)
- CIE Lab
- lab(8.09 11.16 -6.09)
- LCH
- lch(8.09 12.71 331.4)
- CMYK
- cmyk(0% 49% 9% 86%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 362533
- 4A3A46
- 5E505B
- 736671
- 897E87
- A0969E
- B7B0B5
- CEC9CD
- E6E4E6
Sắc đậm
- 1D0E1A
- 170A15
- 11070F
- 0C040A
- 070206
- 040103
- 010101
- 000000
- 000000
Sắc xám
- 2C1C29
- 342632
- 3D303B
- 473B44
- 50464E
- 595157
- 635C61
- 6C686B
- 767476
Hòa sắc
Bổ túc +180°
- 231220
Shot in the Dark
- 091E11
≈ Clock Chimes Thirteen
Tương đồng -30° +30°
- 231220
Shot in the Dark
- 1C1427
≈ Sambucus
- 271117
≈ Italian Roast
Bộ ba +120° +240°
- 231220
Shot in the Dark
- 1F1803
≈ Noir Mystique
- 001D23
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 231220
Shot in the Dark
- 151C07
≈ Pinch of Pepper
- 001E1B
≈ Stellar Explorer
Bộ bốn +90° +180° +270°
- 231220
Shot in the Dark
- 251505
≈ Cannon Black
- 091E11
≈ Clock Chimes Thirteen
- 081B29
≈ Oxford by Night
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.81: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.81:1 (AAA) · APCA Lc 105
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #231220;
--shot-in-the-dark-rgb: 35 18 32;
--shot-in-the-dark-oklch: oklch(0.212 0.037 333.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(311 32% 10%);
border-color: oklch(0.212 0.037 333.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #231220;
--color-shot-in-the-dark-50: #fcf1f9;
--color-shot-in-the-dark-100: #f0e3ed;
--color-shot-in-the-dark-200: #dfcfda;
--color-shot-in-the-dark-300: #c4b1bf;
--color-shot-in-the-dark-400: #ad97a8;
--color-shot-in-the-dark-500: #967d91;
--color-shot-in-the-dark-600: #7f6a7a;
--color-shot-in-the-dark-700: #665562;
--color-shot-in-the-dark-800: #4a3e48;
--color-shot-in-the-dark-900: #342a32;
--color-shot-in-the-dark-950: #1f181e;
}SCSS
$shot-in-the-dark: #231220;
$shot-in-the-dark-rgb: 35, 18, 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);
}