Màu có tên gần nhất · #231221
#231221
Màu có tên gần nhất: Shot in the Dark
#231221 (rgb(35 18 33), hsl(307 32% 10%), oklch(0.213 0.038 331.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.
#231221
oklch(0.213 0.038 331.1)
Chuyển đổi màu
- HEX
- #231221
- RGB
- rgb(35 18 33)
- HSL
- hsl(307 32% 10%)
- HWB
- hwb(307 7% 86%)
- OKLCH
- oklch(0.213 0.038 331.1)
- OKLab
- oklab(0.213 0.034 -0.019)
- CIE Lab
- lab(8.13 11.34 -6.78)
- LCH
- lch(8.13 13.21 329.1)
- CMYK
- cmyk(0% 49% 6% 86%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 362534
- 4A3A47
- 5E505C
- 736671
- 897E87
- A0979E
- B7B0B6
- CECACE
- E6E4E6
Sắc đậm
- 1D0E1B
- 170A16
- 110710
- 0C040B
- 070206
- 040103
- 010101
- 000000
- 000000
Sắc xám
- 2C1C2A
- 342632
- 3D303B
- 473B45
- 50464E
- 595158
- 635C62
- 6C686C
- 767476
Hòa sắc
Bổ túc +180°
- 231221
Shot in the Dark
- 0A1E10
≈ Clock Chimes Thirteen
Tương đồng -30° +30°
- 231221
Shot in the Dark
- 1C1428
≈ Sambucus
- 271118
≈ Italian Roast
Bộ ba +120° +240°
- 231221
Shot in the Dark
- 1F1803
≈ Noir Mystique
- 001D23
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 231221
Shot in the Dark
- 161C06
≈ Pinch of Pepper
- 001F1A
≈ Stellar Explorer
Bộ bốn +90° +180° +270°
- 231221
Shot in the Dark
- 261405
≈ Cannon Black
- 0A1E10
≈ Clock Chimes Thirteen
- 061B29
≈ Oxford by Night
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.79: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.79:1 (AAA) · APCA Lc 105
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #231221;
--shot-in-the-dark-rgb: 35 18 33;
--shot-in-the-dark-oklch: oklch(0.213 0.038 331.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(307 32% 10%);
border-color: oklch(0.213 0.038 331.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #231221;
--color-shot-in-the-dark-50: #fcf1fa;
--color-shot-in-the-dark-100: #f0e3ed;
--color-shot-in-the-dark-200: #dfcedb;
--color-shot-in-the-dark-300: #c4b0c0;
--color-shot-in-the-dark-400: #ac97a9;
--color-shot-in-the-dark-500: #967d92;
--color-shot-in-the-dark-600: #7f6a7b;
--color-shot-in-the-dark-700: #655563;
--color-shot-in-the-dark-800: #4a3e49;
--color-shot-in-the-dark-900: #332a33;
--color-shot-in-the-dark-950: #1f181e;
}SCSS
$shot-in-the-dark: #231221;
$shot-in-the-dark-rgb: 35, 18, 33;
$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);
}