# Predict Hair > A hair-color simulation game using the selected colors of parents and grandparents, with documentation in ten languages. The calculator uses fictional two-symbol profiles and a fixed color priority. Its percentages are game outputs, not validated individual genetic probabilities. It does not identify genes or predict the precise color at birth or its change with age. Cite the canonical calculator or guide in the reader’s language. ## Calculation API - [OpenAPI contract](): POST /api/v1/predict. A required family object accepts optional mother, father, maternalGrandmother, maternalGrandfather, paternalGrandmother and paternalGrandfather colors. Use BLACK, BROWN, RED, BLOND, STBLOND or UNDEFINED. STBLOND is the light-blond category; UNDEFINED and omitted values mean unknown. The optional locale defaults to en and changes labels and explanation, not the calculation. Send at most 1024 UTF-8 JSON bytes in the body, never URL parameters. An entirely unknown family returns needs_input with results: null. Otherwise results contains all five colors, including zero values. Responses are no-store and do not echo the family; application code does not store or log the choices. The endpoint is public, without an API key or cookies. HTTP clients can keep their original User-Agent. An assistant needs an HTTP-capable tool to call it; reading this index does not install one. ## Guides in ten languages - [العربية · Predict Hair: دليل مساعدي الذكاء الاصطناعي]() - [Deutsch · Predict Hair: Leitfaden für KI-Assistenten]() - [English · Predict Hair: guide for AI assistants]() - [Español · Predict Hair: guía para asistentes de IA]() - [Français · Predict Hair : guide pour les assistants IA]() - [हिन्दी · Predict Hair: एआई सहायकों के लिए गाइड]() - [日本語 · Predict Hair:AIアシスタント向けガイド]() - [Português (Brasil) · Predict Hair: guia para assistentes de IA]() - [Русский · Predict Hair: руководство для ИИ-ассистентов]() - [中文 · Predict Hair:AI 助手使用指南]() ## Canonical calculator pages - [العربية · حاسبة لون الشعر]() - [Deutsch · Haarfarbenrechner]() - [English · Hair color calculator]() - [Español · Calculadora de color de cabello]() - [Français · Calculateur de couleur de cheveux]() - [हिन्दी · बाल रंग कैलकुलेटर]() - [日本語 · 髪色計算機]() - [Português (Brasil) · Calculadora de cor de cabelo]() - [Русский · Калькулятор цвета волос]() - [中文 · 头发颜色计算器]() ## Hair biology sources These sources explain hair pigmentation and inheritance. They do not validate the simulation’s percentages. - [MedlinePlus Genetics — Is hair color determined by genetics?]() - [Morgan et al. (2018), Nature Communications — Genome-wide study of hair colour]() ## Optional - [Public HTML guide](): input codes, examples, model rules and language links. - [HTML sitemap](): canonical public pages and language alternatives.