1. What this tool does and who it is for
一、这个工具做什么、适合谁用
The form has three inputs: the mother’s hair color, the father’s hair color, and a yes/no question about redheads in either family. The dropdowns merge black and dark brown into one option, because parent phenotypes alone cannot separate them. Pressing Calculate calls hairColor() in js/tools-genetics.js, which orders the two colors into a canonical pair, looks up a ten-row table, applies the red-family adjustment if needed, and returns four percentages.
表单有三个输入:妈妈的发色、爸爸的发色,以及“双方家族里是否有红发成员”的是/否问题。下拉框把黑色与深棕合并为一个选项,因为仅凭父母的表型无法区分这两者。点击“计算”会调用 js/tools-genetics.js 中的 hairColor():先把两种颜色排成固定顺序,再查一张十行的表,必要时应用“家族红发”修正,最后返回四个百分比。
Two kinds of questions bring people here. The first is practical and a little anxious: “We are both dark-haired — is blonde even possible?” The second is playful: “Grandpa was a redhead; what are the odds?” Both are answered by the same table, and both deserve the same caveat: the percentages describe one child, not a forecast about a whole family.
来这里的人通常带着两类问题。第一类现实而略带焦虑:“我们俩都是深色头发——金发到底有没有可能?”第二类偏好玩:“外公是红发,概率有多大?”两类问题都由同一张表回答,也都需要同一句提醒:这些百分比描述的是一个孩子,不是对整个家庭的预测。
The result box has three layers worth reading. The big label names the single most likely category. The sub-line repeats the parent pair the model used, so you can tell at a glance which case you are looking at. The bars show all four categories, including the ones at 1% — and those small bars are often the most interesting part, because they are the branches people wrongly believe are impossible.
结果框有三层值得读。大标签给出单一最可能的类别;副标题重复模型采用的父母组合,让你一眼看清当前是哪种情况;进度条展示全部四类,包括只有 1% 的那些——而这些小条往往最有意思,因为它们正是人们误以为“不可能”的分支。
2. The genetics behind hair color — and why the chart is simplified
二、发色背后的遗传学,以及图表为何是简化的
Hair color is not one gene with one switch. It depends on how much eumelanin (brown-black pigment) and pheomelanin (red-yellow pigment) the follicle produces, how those pigments are packaged, and how many pigment-producing cells remain active. Several genes contribute, including MC1R, which is the best-known regulator of the red/blonde pathway, plus genes such as OCA2, TYR, SLC24A4, SLC45A2 and others studied in large genetic surveys.
发色不是一个基因、一个开关。它取决于毛囊产生多少真黑素(棕黑色素)与褐黑素(红黄色素)、这些色素如何被包裹,以及还剩多少产色细胞在工作。多个基因参与,包括 MC1R——目前最知名的红/金通路调节者——以及 OCA2、TYR、SLC24A4、SLC45A2 等在大规模遗传研究中被反复关注的基因。
Red hair has a relatively clear rule that makes it teachable. It is associated with inherited variants in MC1R, and it behaves recessively: a child usually needs a red-associated variant from each parent to have clearly red hair. That is why two non-red parents can have a red-haired child, and why the “any redhead in the family?” question changes the numbers. The tool implements this as a red branch that is lifted when you answer yes, then renormalised so the four bars still total 100%.
红发有一条相对清晰的规则,因此适合教学。它与 MC1R 的遗传变异相关,并表现为隐性:孩子通常需要从父母各得到一个与红发相关的变异,才会明显呈现红发。这就是两位非红发父母也可能生出红发宝宝的原因,也是“家族里有没有红发成员”会改变数字的原因。工具把它实现为一条“红色分支”:回答“有”时抬高该分支,再做归一化,使四根条仍合计 100%。
The rest of the chart is a rank model rather than a strict genotype model. It treats black > brown > blonde as a dominance ladder, because darker pigment usually masks lighter pigment, and it assumes that each parent may carry hidden lighter alleles. That assumption is deliberately generous: it lets every branch appear, which is exactly what a curious parent wants to see. The cost is that the numbers are teaching estimates, not measured frequencies for your family.
图表的其余部分是“等级模型”,而不是严格的基因型模型。它把黑 > 棕 > 金视为显性阶梯,因为更深的色素通常会遮盖更浅的色素,并假设每位父母都可能携带隐藏的浅色等位基因。这个假设刻意宽松:让每条分支都有机会出现,而这正是好奇的父母想看到的。代价是:这些数字是教学估算,不是针对你家庭的实测频率。
3. The full table the tool uses
三、工具实际使用的完整表格
These are the base values, before the red-family adjustment. Mother/father order does not matter — the code sorts the pair first — so each row covers both directions.
以下是“家族红发”修正前的基础值。妈妈/爸爸的顺序不影响结果——代码会先排序——所以每一行都涵盖两个方向。
| Parents | Black | Brown | Blonde | Red |
|---|---|---|---|---|
| Black × Black | 70% | 24% | 5% | 1% |
| Black × Brown | 50% | 34% | 13% | 3% |
| Black × Blonde | 40% | 26% | 31% | 3% |
| Black × Red | 48% | 30% | 10% | 12% |
| Brown × Brown | 5% | 56% | 33% | 6% |
| Brown × Blonde | 3% | 34% | 55% | 8% |
| Brown × Red | 4% | 44% | 34% | 18% |
| Blonde × Blonde | 1% | 10% | 84% | 5% |
| Blonde × Red | 3% | 20% | 55% | 22% |
| Red × Red | 1% | 3% | 8% | 88% |
| 父母 | 黑色 | 棕色 | 金色 | 红色 |
|---|---|---|---|---|
| 黑 × 黑 | 70% | 24% | 5% | 1% |
| 黑 × 棕 | 50% | 34% | 13% | 3% |
| 黑 × 金 | 40% | 26% | 31% | 3% |
| 黑 × 红 | 48% | 30% | 10% | 12% |
| 棕 × 棕 | 5% | 56% | 33% | 6% |
| 棕 × 金 | 3% | 34% | 55% | 8% |
| 棕 × 红 | 4% | 44% | 34% | 18% |
| 金 × 金 | 1% | 10% | 84% | 5% |
| 金 × 红 | 3% | 20% | 55% | 22% |
| 红 × 红 | 1% | 3% | 8% | 88% |
Every row sums to 100%. Notice how the dark ladder behaves: blonde never disappears entirely, even for black × black, because both parents may carry hidden light alleles. Notice too that black × blonde (40% black, 31% blonde) is far less one-sided than most people expect — a blonde parent is not “swamped” by a black-haired partner.
每一行都合计 100%。注意深色阶梯的表现:即使是黑 × 黑,金色也不会完全消失,因为双方都可能携带隐藏的浅色等位基因。还要注意黑 × 金(黑 40%、金 31%)远没有多数人想象的那么一边倒——金发一方并不会被黑发伴侣“完全压住”。
One more check: these figures are not population statistics. They describe the model’s assumptions, which is a different claim. Real-world hair color frequencies vary enormously by region and ancestry, and a two-option family history question cannot capture that.
再强调一次:这些数字不是人群统计。它们描述的是模型假设,这是另一种性质的说法。现实中的发色分布随地区和族源差异极大,而一个二选一的家族史问题无法捕捉这些差异。
4. A worked example, including the red-family switch
四、一个算例,以及“家族红发”开关的作用
Start with brown × brown and the red-family answer set to “No”. The tool returns Brown 56%, Blonde 33%, Red 6%, Black 5%. Nothing here is a strict Punnett derivation — it is the stored teaching row — but it is internally consistent and it passes the sanity checks most parents care about: brown is clearly first, blonde remains plausible, black is a small tail, and red is small but not zero.
从棕 × 棕、“家族红发”选“否”开始。工具返回棕 56%、金 33%、红 6%、黑 5%。这里没有严格的旁氏表推导——它只是存好的教学行——但它内部自洽,也通过了父母最在意的几项常识检验:棕色明显第一,金色仍然可能,黑色是小尾巴,红色小但不为零。
Now switch the same pair to “Yes” and watch what moves. Red rises from 6% to about 12%, and the other three are scaled down proportionally so the total remains 100%. The exact figures come from a simple rule: multiply the red branch by 1.35, add four points, then redistribute the remainder across the non-red branches.
把同一组合改成“是”,观察什么在动。红色从 6% 升到约 12%,其余三项按比例缩小,总数仍为 100%。具体数字来自一条简单规则:把红色分支乘以 1.35、再加 4 个百分点,然后把剩余份额按比例分给非红分支。
Why this rule exists: a red-haired grandparent proves that at least one MC1R variant is circulating in the family, which raises the chance that a parent who looks brown-haired is a silent carrier. It does not prove either parent is a carrier, and it does not double the odds. That is why the adjustment is modest rather than dramatic.
这条规则为什么存在:一位红发祖辈证明家族中至少有一个 MC1R 变异在流传,从而提高“看起来棕发的父母其实是沉默携带者”的可能。它并不证明父母任何一方是携带者,也不会让概率翻倍。所以修正是温和的,而不是戏剧性的。
The two extremes are worth trying once. Red × Red gives 88% red, with small blonde and brown tails. Black × Black with “No” gives 1% red — small, but not zero, because the table assumes hidden alleles. Those two results together show the honest range of the model: red is neither guaranteed nor impossible from any pair the dropdowns allow.
两种极端值得各试一次。红 × 红给出 88% 红发,另带很小的金色与棕色尾巴。黑 × 黑选“否”给出 1% 红发——很小,但不是零,因为表格假设存在隐藏等位基因。两者合起来正好展示模型的诚实范围:在下拉框允许的任何组合里,红发既不保证,也非不可能。
5. How to read the result without over-reading it
五、怎么读结果,避免过度解读
A percentage here is the chance for one child, not a promise and not a population frequency. “33% blonde” for two brown-haired parents means roughly one in three of their children would be blonde in this model; with one baby, you get one outcome. A 1% branch is small, but small is not zero — and families do land on the small branch.
这里的百分比是“单个孩子”的概率,不是承诺,也不是人群比例。两位棕发父母的“33% 金发”意味着在这个模型下,他们的孩子大约三分之一会是金发;但只有一个孩子时,你只会得到一个结果。1% 的分支很小,但小不等于零——现实中确实有家庭落在小分支上。
Three misreadings are common. First, treating the biggest bar as the baby’s color — it is only the most likely one. Second, assuming a dark-haired parent “cancels” a blonde partner; the table says otherwise, with blonde at 31% for black × blonde. Third, assuming a newborn’s hair is the final answer, which brings us to the next section.
有三种常见误读。第一,把最高的条当成宝宝的实际发色——它只是最可能的那一项。第二,以为深发父母会“抵消”金发伴侣——表格给出了相反的证据:黑 × 金时金发仍有 31%。第三,把新生儿头发当成最终答案——这正是下一节要讲的。
A useful habit: run the mirror case. Brown mother × blonde father and blonde mother × brown father must return identical bars, because the code sorts the pair before lookup. If they differ, the form state is stale, not the genetics.
一个好习惯:跑一次镜像组合。妈妈棕 × 爸爸金 与 妈妈金 × 爸爸棕 必须返回完全相同的条,因为代码在查表前先排序。若不同,那是表单状态残留,而不是遗传学差异。
6. What actually happens to hair color after birth
六、出生之后,发色究竟会怎么变
Many babies are born with hair that is lighter, darker or a different tone than their eventual color. Newborn hair is fine, often sparse, and its pigment is still developing. Over the first months and years, melanin production increases, and a large share of children visibly darken. Some blonde toddlers become brown-haired children; some dark newborns lighten a little; a minority keep the same shade throughout.
许多宝宝出生时的头发比最终发色更浅、更深,或色调不同。新生儿头发细软、常常稀疏,色素仍在发育。在最初几个月到几年里,黑色素生成增加,相当一部分孩子会明显变深。有些金发幼儿会变成棕发儿童;有些深发新生儿会略微变浅;少数人终生保持同一色调。
Red hair is the most stable of the four in childhood, but even red can shift in shade. Sun exposure, humidity and the amount of curl change how color reads visually without changing the genes. This is why the honest use of the tool is to predict a range for the adult color, not the color of the first photograph.
四类当中,红发在童年阶段最稳定,但连红色的深浅也可能变化。日晒、湿度与卷曲程度会改变颜色的“观感”,却不改变基因。这也是为什么诚实地使用本工具,应当预测成年发色的范围,而不是第一张照片里的颜色。
A practical trick: photograph in the same window light at birth, 6 months, 1 year and 3 years. Most families see a clear trend in the first 18 months; a few see none. Either way, the series is more interesting than the original percentage, and it costs nothing.
一个实用技巧:在出生、6 个月、1 岁、3 岁时,用同一扇窗的光线拍照。多数家庭能在最初 18 个月看到明显趋势,少数看不到。无论哪种,这组照片都比最初那个百分比更有意思,而且不花一分钱。
7. Where the model stops
七、模型的边界在哪里
This chart merges black and dark brown, ignores the difference between ash and gold tones, and does not model the many genes outside MC1R. It cannot tell you whether a parent is a carrier, and it cannot predict a specific child. It also does not cover albinism, which is a separate group of conditions affecting pigment production in hair, skin and eyes and is associated with vision changes — something to discuss with a clinician, never to infer from a hair-color bar.
这张表合并了黑色与深棕,忽略了灰调与金调的差别,也没有建模 MC1R 之外的众多基因。它无法告诉你某位父母是否为携带者,也无法预测某一个具体孩子。它同样不覆盖白化病——那是一组影响毛发、皮肤与眼睛色素生成、并常伴随视力变化的独立疾病,应与临床医生讨论,绝不能从一根发色条推断。
Hair color is cosmetic, so there is no “when to see a doctor” threshold tied to this tool. The only clinical red flags in this area are unrelated to color: sudden patchy hair loss, broken hairs, scaly scalp, or a baby who fails to grow hair at all beyond the expected timeline. Those are paediatric or dermatology questions.
发色属于外观特征,因此本工具没有与之挂钩的“何时就医”阈值。这个领域真正需要就医的信号与颜色无关:突然出现斑块状脱发、断发、头皮鳞屑,或宝宝明显超出正常时间仍不长头发。这些属于儿科或皮肤科问题。
Finally, remember what the percentages are for: they are a way to make a family conversation concrete and to correct a myth or two. They are not a genetic test, and no one should buy a wardrobe, plan a name, or worry about a pregnancy because of a hair-color bar.
最后,记住这些百分比的用途:它们只是让家庭对话更具体、顺手纠正一两个谣言的方式。它们不是基因检测,任何人都不该因为一根发色条去置装、定名字,或为孕期担忧。


