关于「黑底金字的算术:显示极性、光晕、对比度上下限与价格数字」,《拇指热区与首屏留存工程》给出的定量结论是什么?

结论:本章把「暗黑奢品」拆成几笔可以算的账。第一笔是显示极性:深底浅字与浅底深字,哪一种读得更快、更准,证据怎么说。第二笔是对比度:WCAG 2.1 给了下限,没有给上限,而在暗色主题里,过高的对比度恰恰是常见的毛病。第三笔是金色:同一个色相的金,在深底和浅底上各自只有一段明度能用。第四笔是字:字阶在 390 与 360 两种视口宽度里能放下几个字,细笔画在三倍像素屏上还剩几个像素。最后一笔是价格数字本身:怎么写、用什么数字字形、分期金额怎样加回原价。

数据口径:全部品牌与数字都是虚构样本,由书中程序算出;涉及隐私同意与无障碍的法规只写一般框架,不是法律意见。 书中以标注框区分证据、计算、原典与假说,每条假说都写明什么结果会推翻它;原典考辨取《考工记》「天有时,地有气,材有美,工有巧」的良工四条件。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 360, 390

type scale: exact -> rounded px
caption-1 12.800 -> 13
body0 16.000 -> 16
lead1 20.000 -> 20
title-32 25.000 -> 25
title-23 31.250 -> 31
title-14 39.062 -> 39
characters per line inside the gutters
size px390: zh / latin 360: zh / latin
caption13 27 / 55 25 / 50
body16 22 / 44 20 / 41
lead20 17 / 35 16 / 32
title-325 14 / 28 13 / 26
title-231 11 / 23 10 / 21
title-139 9 / 18 8 / 16
sample phone1 CSS px = 0.1657 mm; viewing distance 300 mm
caption em 2.15 mm, angle of the em 0.411 deg, Latin x-height (0.5 em) 0.206 deg
body em 2.65 mm, angle of the em 0.506 deg, Latin x-height (0.5 em) 0.253 deg
title-3 em 4.14 mm, angle of the em 0.791 deg, Latin x-height (0.5 em) 0.395 deg
title-1 em 6.46 mm, angle of the em 1.234 deg, Latin x-height (0.5 em) 0.617 deg
a 120-character Chinese product description at body size
390x84422 chars/line, 6 lines, 153.6 px tall = 0.182 of the viewport height
360x78020 chars/line, 6 lines, 153.6 px tall = 0.197 of the viewport height
stem thickness in device pixels at 3x (stem ratio in em x size x DPR)
size px r0.02 r=0.03 r=0.05 r=0.08 r=0.10
caption13 0.78 1.17 1.95 3.12 3.90
body16 0.96 1.44 2.40 3.84 4.80
lead20 1.20 1.80 3.00 4.80 6.00
查看完整验算程序
# Chapter 4. p42: The kit type scale (16 px base, ratio 1.25) on Nightamber's two sample viewports.
# Viewports 390x844 and 360x780 CSS px, compact gutter 16 px each side (kit layout tokens).
# Chinese glyphs are taken as 1 em wide; Latin text as 0.5 em per character on average (assumption).
# Physical size uses a sample phone of 460 ppi at 3 device pixels per CSS px and a 300 mm viewing distance
# (assumptions for the arithmetic). Stroke ratios are assumed stem thicknesses in em, not font measurements.
import math
from fractions import Fraction

BASE, RATIO = 16, Fraction(5, 4)
STEPS = {"caption": -1, "body": 0, "lead": 1, "title-3": 2, "title-2": 3, "title-1": 4}
LINE_H = {"caption": 1.5, "body": 1.6, "lead": 1.5, "title-3": 1.3, "title-2": 1.25, "title-1": 1.2}
VIEWS = [(390, 844), (360, 780)]
GUTTER = 16
PPI, DPR, DIST_MM = 460, 3, 300

sizes = {}
print("type scale: exact -> rounded px")
for name, k in STEPS.items():
    exact = BASE * RATIO ** k
    sizes[name] = int(exact + Fraction(1, 2))
    print("   {:<8} {:>2}  {:8.3f} -> {:2d}".format(name, k, float(exact), sizes[name]))

print("characters per line inside the gutters")
print("   size      px   " + "   ".join("{}: zh / latin".format(w) for w, _ in VIEWS))
for name, px in sizes.items():
    cells = []
    for w, _ in VIEWS:
        col = w - 2 * GUTTER
        cells.append("{:>6} / {:>3}".format(col // px, int(col / (0.5 * px))))
    print("   {:<8} {:3d}   {}".format(name, px, "      ".join(cells)))

mm_per_css = 25.4 * DPR / PPI
print("sample phone: 1 CSS px = {:.4f} mm; viewing distance {} mm".format(mm_per_css, DIST_MM))
for name in ("caption", "body", "title-3", "title-1"):
    em_mm = sizes[name] * mm_per_css
    ang = math.degrees(2 * math.atan(em_mm / 2 / DIST_MM))
    print("   {:<8} em {:.2f} mm, angle of the em {:.3f} deg, Latin x-height (0.5 em) {:.3f} deg".format(
        name, em_mm, ang, ang / 2))

print("a 120-character Chinese product description at body size")
for w, h in VIEWS:
    per = (w - 2 * GUTTER) // sizes["body"]
    lines = math.ceil(120 / per)
    height = lines * sizes["body"] * LINE_H["body"]
    print("   {}x{}: {} chars/line, {} lines, {:.1f} px tall = {:.3f} of the viewport height".format(
        w, h, per, lines, height, height / h))

print("stem thickness in device pixels at {}x (stem ratio in em x size x DPR)".format(DPR))
ratios = [0.02, 0.03, 0.05, 0.08, 0.10]
print("   size     px  " + "  ".join("r={:.2f}".format(r) for r in ratios))
for name, px in sizes.items():
    print("   {:<8} {:2d}  ".format(name, px) + "  ".join("{:6.2f}".format(r * px * DPR) for r in ratios))
print("smallest size (CSS px) whose stem covers 1 device px at 3x, and 1 CSS px")
for r in ratios:
    print("   r={:.2f}: >= {:5.2f} px for 1 device px; >= {:5.1f} px for 1 CSS px".format(
        r, 1 / (r * DPR), 1 / r))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《移动端拇指热区动力学、暗黑奢品微交互与首屏视觉留存工程》第 4 章「黑底金字的算术:显示极性、光晕、对比度上下限与价格数字」(版本 0.1.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-137 · v0.1.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026137,
  author    = {Fan, Yafu},
  title     = {Mobile Thumb-Zone Kinetics, Dark-Luxury Micro-Interactions and Above-the-Fold Visual Retention Engineering},
  year      = {2026},
  publisher = {5D Library},
  edition   = {0.1.0},
  note      = {DOI pending}
}

本书其他章节结论