Màu có tên gần nhất · #251525
#251525
Màu có tên gần nhất: Shot in the Dark
#251525 (rgb(37 21 37), hsl(300 28% 11%), oklch(0.225 0.038 326.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.
#251525
oklch(0.225 0.038 326.8)
Chuyển đổi màu
- HEX
- #251525
- RGB
- rgb(37 21 37)
- HSL
- hsl(300 28% 11%)
- HWB
- hwb(300 8% 85%)
- OKLCH
- oklch(0.225 0.038 326.8)
- OKLab
- oklab(0.225 0.032 -0.021)
- CIE Lab
- lab(9.49 10.93 -7.68)
- LCH
- lch(9.49 13.36 324.9)
- CMYK
- cmyk(0% 43% 0% 85%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 382838
- 4B3D4B
- 60525F
- 756974
- 8A808A
- A198A0
- B7B1B7
- CFCACF
- E7E4E7
Sắc đậm
- 1F111F
- 190C19
- 130813
- 0D050D
- 080308
- 040204
- 020102
- 000000
- 000000
Sắc xám
- 2D1F2D
- 362836
- 3F323F
- 483D47
- 514751
- 5A525A
- 635D63
- 6D696D
- 767476
Hòa sắc
Bổ túc +180°
- 251525
Shot in the Dark
- 0F2011
≈ Nightmare
Tương đồng -30° +30°
- 251525
Shot in the Dark
- 1D182B
≈ Sambucus
- 2A141C
≈ Black Cherry
Bộ ba +120° +240°
- 251525
Shot in the Dark
- 231A05
≈ Cannon Black
- 002125
≈ Stellar Explorer
Bổ túc chia +150° +210°
- 251525
Shot in the Dark
- 1A1E08
≈ Nightmare
- 03211B
≈ Stellar Explorer
Bộ bốn +90° +180° +270°
- 251525
Shot in the Dark
- 291709
≈ Zinnwaldite Brown
- 0F2011
≈ Nightmare
- 071E2B
≈ Cyanophobia
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 17.31:1 · APCA Lc 104
Ag
FailTrên nền đen
WCAG 1.21:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 17.31:1 (AAA) · APCA Lc 104
Contrast pairs
Đoạn mã
CSS
:root {
--shot-in-the-dark: #251525;
--shot-in-the-dark-rgb: 37 21 37;
--shot-in-the-dark-oklch: oklch(0.225 0.038 326.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(300 28% 11%);
border-color: oklch(0.225 0.038 326.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #251525;
--color-shot-in-the-dark-50: #fcf1fb;
--color-shot-in-the-dark-100: #efe4ee;
--color-shot-in-the-dark-200: #decfdc;
--color-shot-in-the-dark-300: #c3b1c1;
--color-shot-in-the-dark-400: #ab97ab;
--color-shot-in-the-dark-500: #947e94;
--color-shot-in-the-dark-600: #7d6a7d;
--color-shot-in-the-dark-700: #645564;
--color-shot-in-the-dark-800: #493e4a;
--color-shot-in-the-dark-900: #332b33;
--color-shot-in-the-dark-950: #1f181f;
}SCSS
$shot-in-the-dark: #251525;
$shot-in-the-dark-rgb: 37, 21, 37;
$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);
}