最接近的命名颜色 · #F0F5FA
#F0F5FA
最接近的命名颜色: Cotton Ball
#F0F5FA(rgb(240 245 250)、hsl(210 50% 96%)、oklch(0.968 0.009 247.9))最接近命名颜色 Cotton Ball。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#F0F5FA
oklch(0.968 0.009 247.9)
颜色转换
- HEX
- #f0f5fa
- RGB
- rgb(240 245 250)
- HSL
- hsl(210 50% 96%)
- HWB
- hwb(210 94% 2%)
- OKLCH
- oklch(0.968 0.009 247.9)
- OKLab
- oklab(0.968 -0.003 -0.008)
- CIE Lab
- lab(96.26 -1.04 -3.02)
- LCH
- lch(96.26 3.19 251)
- CMYK
- cmyk(4% 2% 0% 2%)
浅色调 · 深色调 · 灰色调
浅色调
- F1F6FB
- F3F7FB
- F4F8FC
- F6F9FC
- F7FAFD
- F9FBFD
- FAFCFE
- FCFDFE
- FDFEFF
深色调
- D1D5D9
- B2B6BA
- 95989B
- 787B7D
- 5D5F61
- 434446
- 2A2B2D
- 141515
- 030303
灰色调
- E4E9ED
- D9DDE0
- CDD0D4
- C2C5C7
- B6B9BB
- ABADAF
- A0A2A3
- 959697
- 8B8B8B
配色和谐
互补色 +180°
- F0F5FA
Cotton Ball
- F8F3EE
≈ Crystal Cut
类似色 -30° +30°
- F0F5FA
Cotton Ball
- EEF6F8
≈ Silent Snowfall
- F3F4FA
≈ White Solid
三角配色 +120° +240°
- F0F5FA
Cotton Ball
- FAF2F3
≈ Abalone
- F3F6EF
≈ Grass Valley
分裂互补色 +150° +210°
- F0F5FA
Cotton Ball
- FAF3F0
≈ Ivory Tower
- F6F4EE
≈ The Speed of Light
四角配色 +90° +180° +270°
- F0F5FA
Cotton Ball
- F8F2F6
≈ Abalone
- F8F3EE
≈ Crystal Cut
- F0F6F2
≈ Heavy Sugar
对比度与无障碍
Ag
Fail白底
WCAG 1.09:1 · APCA Lc 0
Ag
AAA黑底
WCAG 19.14:1 · APCA Lc 101
最佳文字颜色: #000000
WCAG 19.14:1 (AAA) · APCA Lc 101
Contrast pairs
代码片段
CSS
:root {
--cotton-ball: #f0f5fa;
--cotton-ball-rgb: 240 245 250;
--cotton-ball-oklch: oklch(0.968 0.009 247.9);
}
.element {
color: var(--cotton-ball);
background-color: hsl(210 50% 96%);
border-color: oklch(0.968 0.009 247.9);
}Tailwind CSS v4
@theme {
--color-cotton-ball: #f0f5fa;
--color-cotton-ball-50: #f3f5f7;
--color-cotton-ball-100: #e6e8eb;
--color-cotton-ball-200: #d1d4d8;
--color-cotton-ball-300: #b4b8bc;
--color-cotton-ball-400: #9b9fa3;
--color-cotton-ball-500: #82878c;
--color-cotton-ball-600: #6e7276;
--color-cotton-ball-700: #585b5f;
--color-cotton-ball-800: #404345;
--color-cotton-ball-900: #2c2e30;
--color-cotton-ball-950: #191b1c;
}SCSS
$cotton-ball: #f0f5fa;
$cotton-ball-rgb: 240, 245, 250;
$cotton-ball-light: mix(#fff, $cotton-ball, 20%);
$cotton-ball-dark: mix(#000, $cotton-ball, 20%);
.element {
color: $cotton-ball;
box-shadow: 0 0 0 2px rgba($cotton-ball, 0.35);
}