最接近的命名颜色 · #150812
#150812
最接近的命名颜色: Noir Fiction
#150812(rgb(21 8 18)、hsl(314 45% 6%)、oklch(0.159 0.03 335.8))最接近命名颜色 Noir Fiction。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#150812
oklch(0.159 0.03 335.8)
颜色转换
- HEX
- #150812
- RGB
- rgb(21 8 18)
- HSL
- hsl(314 45% 6%)
- HWB
- hwb(314 3% 92%)
- OKLCH
- oklch(0.159 0.03 335.8)
- OKLab
- oklab(0.159 0.027 -0.012)
- CIE Lab
- lab(3.41 5.77 -2.91)
- LCH
- lch(3.41 6.47 333.2)
- CMYK
- cmyk(0% 62% 14% 92%)
浅色调 · 深色调 · 灰色调
浅色调
- 281B25
- 3D3039
- 52474F
- 695E66
- 80777E
- 989196
- B1ABAF
- CAC6C9
- E4E2E4
深色调
- 11060E
- 0C040A
- 080307
- 050204
- 030102
- 020101
- 010001
- 000000
- 000000
灰色调
- 1F121C
- 281D25
- 332830
- 3D333A
- 483F45
- 534C51
- 5E585C
- 696568
- 747274
配色和谐
互补色 +180°
- 150812
Noir Fiction
- 031108
≈ Jedi Night
类似色 -30° +30°
- 150812
Noir Fiction
- 100A17
≈ Midnight Oil
- 18070B
≈ Noir Fiction
三角配色 +120° +240°
- 150812
Noir Fiction
- 110D01
≈ Chinese Black
- 001015
≈ Black Glaze
分裂互补色 +150° +210°
- 150812
Noir Fiction
- 0A0F03
≈ Memorial Black
- 00110F
≈ Black Glaze
四角配色 +90° +180° +270°
- 150812
Noir Fiction
- 160A02
≈ Asphalt
- 031108
≈ Jedi Night
- 030E19
≈ Dark Rift
对比度与无障碍
Ag
AAA白底
WCAG 19.52:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.07:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 19.52:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--noir-fiction: #150812;
--noir-fiction-rgb: 21 8 18;
--noir-fiction-oklch: oklch(0.159 0.03 335.8);
}
.element {
color: var(--noir-fiction);
background-color: hsl(314 45% 6%);
border-color: oklch(0.159 0.03 335.8);
}Tailwind CSS v4
@theme {
--color-noir-fiction: #150812;
--color-noir-fiction-50: #fbf2f8;
--color-noir-fiction-100: #efe4eb;
--color-noir-fiction-200: #ddd0d9;
--color-noir-fiction-300: #c2b2bd;
--color-noir-fiction-400: #aa98a5;
--color-noir-fiction-500: #947f8e;
--color-noir-fiction-600: #7d6c78;
--color-noir-fiction-700: #645660;
--color-noir-fiction-800: #493f47;
--color-noir-fiction-900: #332b31;
--color-noir-fiction-950: #1e181d;
}SCSS
$noir-fiction: #150812;
$noir-fiction-rgb: 21, 8, 18;
$noir-fiction-light: mix(#fff, $noir-fiction, 20%);
$noir-fiction-dark: mix(#000, $noir-fiction, 20%);
.element {
color: $noir-fiction;
box-shadow: 0 0 0 2px rgba($noir-fiction, 0.35);
}