最接近的命名颜色 · #01030A
#01030A
最接近的命名颜色: Eight Ball
#01030A(rgb(1 3 10)、hsl(227 82% 2%)、oklch(0.098 0.024 261))最接近命名颜色 Eight Ball。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#01030A
oklch(0.098 0.024 261)
颜色转换
- HEX
- #01030a
- RGB
- rgb(1 3 10)
- HSL
- hsl(227 82% 2%)
- HWB
- hwb(227 0% 96%)
- OKLCH
- oklch(0.098 0.024 261)
- OKLab
- oklab(0.098 -0.004 -0.024)
- CIE Lab
- lab(0.82 0.18 -2.86)
- LCH
- lch(0.82 2.86 273.7)
- CMYK
- cmyk(90% 70% 0% 96%)
浅色调 · 深色调 · 灰色调
浅色调
- 0E141D
- 232932
- 3A4049
- 535860
- 6D7279
- 898C92
- A5A8AC
- C2C4C7
- E0E1E3
深色调
- 010207
- 010205
- 000103
- 000102
- 000001
- 000001
- 000000
- 000000
- 000000
灰色调
- 060B14
- 11161F
- 1D222A
- 292E35
- 373A41
- 44484D
- 535559
- 616366
- 717173
配色和谐
互补色 +180°
- 01030A
Eight Ball
- 060300
≈ Pupil
类似色 -30° +30°
- 01030A
Eight Ball
- 000407
≈ Ninja
- 030209
≈ Ninja
三角配色 +120° +240°
- 01030A
Eight Ball
- 090101
≈ Pupil
- 010401
≈ Armour Wash
分裂互补色 +150° +210°
- 01030A
Eight Ball
- 080200
≈ Pupil
- 030300
≈ Armour Wash
四角配色 +90° +180° +270°
- 01030A
Eight Ball
- 080104
≈ Pupil
- 060300
≈ Pupil
- 000403
≈ Armour Wash
对比度与无障碍
Ag
AAA白底
WCAG 20.61:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.01:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 20.61:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--eight-ball: #01030a;
--eight-ball-rgb: 1 3 10;
--eight-ball-oklch: oklch(0.098 0.024 261);
}
.element {
color: var(--eight-ball);
background-color: hsl(227 82% 2%);
border-color: oklch(0.098 0.024 261);
}Tailwind CSS v4
@theme {
--color-eight-ball: #01030a;
--color-eight-ball-50: #f1f5fc;
--color-eight-ball-100: #e4e8f0;
--color-eight-ball-200: #cfd4df;
--color-eight-ball-300: #b1b8c4;
--color-eight-ball-400: #969fad;
--color-eight-ball-500: #7d8797;
--color-eight-ball-600: #6a7280;
--color-eight-ball-700: #555b66;
--color-eight-ball-800: #3d434b;
--color-eight-ball-900: #2a2e34;
--color-eight-ball-950: #181b20;
}SCSS
$eight-ball: #01030a;
$eight-ball-rgb: 1, 3, 10;
$eight-ball-light: mix(#fff, $eight-ball, 20%);
$eight-ball-dark: mix(#000, $eight-ball, 20%);
.element {
color: $eight-ball;
box-shadow: 0 0 0 2px rgba($eight-ball, 0.35);
}