Màu có tên gần nhất · #281626
#281626
Màu có tên gần nhất: Shot in the Dark
#281626 (rgb(40 22 38), hsl(307 29% 12%), oklch(0.232 0.04 330.8)) 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.
#281626
oklch(0.232 0.04 330.8)
Chuyển đổi màu
- HEX
- #281626
- RGB
- rgb(40 22 38)
- HSL
- hsl(307 29% 12%)
- HWB
- hwb(307 9% 84%)
- OKLCH
- oklch(0.232 0.04 330.8)
- OKLab
- oklab(0.232 0.035 -0.02)
- CIE Lab
- lab(10.29 11.8 -7.15)
- LCH
- lch(10.29 13.79 328.8)
- CMYK
- cmyk(0% 45% 5% 84%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 3B2938
- 4E3E4C
- 625360
- 776A75
- 8C818B
- A299A1
- B9B1B8
- D0CBCF
- E7E5E7
Sắc đậm
- 211220
- 1B0D19
- 150913
- 0F060D
- 090308
- 040204
- 020102
- 010001
- 000000
Sắc xám
- 30202E
- 392937
- 41333F
- 4A3E48
- 534851
- 5B535A
- 645E63
- 6E696D
- 777476
Hòa sắc
Bổ túc +180°
- 281626
Shot in the Dark
- 0E2313
≈ Nightmare
Tương đồng -30° +30°
- 281626
Shot in the Dark
- 20192D
≈ Sambucus
- 2D151C
≈ Black Cherry
Bộ ba +120° +240°
- 281626
Shot in the Dark
- 241C05
≈ Cannon Black
- 002228
≈ Teal Spill
Bổ túc chia +150° +210°
- 281626
Shot in the Dark
- 1B2009
≈ Midnight Pines
- 02231E
≈ Stellar Explorer
Bộ bốn +90° +180° +270°
- 281626
Shot in the Dark
- 2B1808
≈ Zinnwaldite Brown
- 0E2313
≈ Nightmare
- 091F2E
≈ The Count’s Black
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.03:1 · APCA Lc 104
Ag
FailTrên nền đen
WCAG 1.23:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 17.03:1 (AAA) · APCA Lc 104
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #281626;
--shot-in-the-dark-rgb: 40 22 38;
--shot-in-the-dark-oklch: oklch(0.232 0.04 330.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(307 29% 12%);
border-color: oklch(0.232 0.04 330.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #281626;
--color-shot-in-the-dark-50: #fdf1fa;
--color-shot-in-the-dark-100: #f1e3ee;
--color-shot-in-the-dark-200: #dfcedc;
--color-shot-in-the-dark-300: #c5b0c0;
--color-shot-in-the-dark-400: #ad96aa;
--color-shot-in-the-dark-500: #967d93;
--color-shot-in-the-dark-600: #7f6a7c;
--color-shot-in-the-dark-700: #665463;
--color-shot-in-the-dark-800: #4a3e49;
--color-shot-in-the-dark-900: #342a33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #281626;
$shot-in-the-dark-rgb: 40, 22, 38;
$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);
}