最接近的命名颜色 · #170A10
#170A10
最接近的命名颜色: Noir Fiction
#170A10(rgb(23 10 16)、hsl(332 39% 6%)、oklch(0.167 0.025 351))最接近命名颜色 Noir Fiction。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#170A10
oklch(0.167 0.025 351)
颜色转换
- HEX
- #170a10
- RGB
- rgb(23 10 16)
- HSL
- hsl(332 39% 6%)
- HWB
- hwb(332 4% 91%)
- OKLCH
- oklch(0.167 0.025 351)
- OKLab
- oklab(0.167 0.025 -0.004)
- CIE Lab
- lab(3.97 5.68 -0.92)
- LCH
- lch(3.97 5.76 350.8)
- CMYK
- cmyk(0% 57% 30% 91%)
浅色调 · 深色调 · 灰色调
浅色调
- 2A1D23
- 3F3237
- 54484D
- 6A6064
- 82787C
- 999295
- B2ACAE
- CBC7C9
- E5E3E3
深色调
- 12070C
- 0E0509
- 0A0306
- 060204
- 040102
- 020101
- 010000
- 000000
- 000000
灰色调
- 20141A
- 2A1F24
- 34292E
- 3E3539
- 494144
- 544D4F
- 5E595B
- 696667
- 757373
配色和谐
互补色 +180°
- 170A10
Noir Fiction
- 03120D
≈ Alpine Salamander
类似色 -30° +30°
- 170A10
Noir Fiction
- 140B15
≈ Noir Fiction
- 180A0A
≈ Optophobia
三角配色 +120° +240°
- 170A10
Noir Fiction
- 0F1004
≈ Chinese Black
- 031118
≈ Nyctophobia
分裂互补色 +150° +210°
- 170A10
Noir Fiction
- 091107
≈ Jedi Night
- 021213
≈ Black Glaze
四角配色 +90° +180° +270°
- 170A10
Noir Fiction
- 140D03
≈ Balsamico
- 03120D
≈ Alpine Salamander
- 080F1A
≈ Nyctophobia
对比度与无障碍
Ag
AAA白底
WCAG 19.31:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.08:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 19.31:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--noir-fiction: #170a10;
--noir-fiction-rgb: 23 10 16;
--noir-fiction-oklch: oklch(0.167 0.025 351);
}
.element {
color: var(--noir-fiction);
background-color: hsl(332 39% 6%);
border-color: oklch(0.167 0.025 351);
}Tailwind CSS v4
@theme {
--color-noir-fiction: #170a10;
--color-noir-fiction-50: #fbf2f6;
--color-noir-fiction-100: #efe5e8;
--color-noir-fiction-200: #ded0d5;
--color-noir-fiction-300: #c2b2b8;
--color-noir-fiction-400: #ab99a0;
--color-noir-fiction-500: #948088;
--color-noir-fiction-600: #7d6c73;
--color-noir-fiction-700: #64565c;
--color-noir-fiction-800: #493f44;
--color-noir-fiction-900: #332b2f;
--color-noir-fiction-950: #1f191b;
}SCSS
$noir-fiction: #170a10;
$noir-fiction-rgb: 23, 10, 16;
$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);
}