How Colours Are Inherited in OviPets (Hex Codes Explained)
An egg's colours are never random: every part of every hex code lands between the two parents' values. Learn to read a hex code and you can plan your way to any colour.

In this guide
Quick answer
A hex code like #FFD700 is three numbers: red FF, green D7, blue 00. For each of the three, an egg gets the mother's value, the father's, or anything in between. Where both parents share a value, the egg copies it exactly. So a colour can only be bred from parents that "surround" it.
Reading a hex code
Open any pet's profile and you'll find its colours as hex codes, grouped by body part:

Each code has six characters in three pairs: RR GG BB. Every pair runs from 00 (none of that light) to FF (all of it), counting 0–9 and then A–F. So FF is 255 and 80 is 128, about halfway.
| Code | Red | Green | Blue | Looks like |
|---|---|---|---|---|
#FFFFFF | FF (255) | FF (255) | FF (255) | White: all three full |
#FFD700 | FF (255) | D7 (215) | 00 (0) | Gold: red and most of green |
#00FFFF | 00 (0) | FF (255) | FF (255) | Cyan: no red |
#000080 | 00 (0) | 00 (0) | 80 (128) | Navy: half blue only |
The one rule of colour breeding
The official OviPets help puts it simply: an egg gets the mother's code, the father's code, or more likely something in between, and each of the three parts is decided on its own.
Take a cyan female (00 FF FF) and a white male (FF FF FF). Green and blue are FF in both, so every egg keeps FF there. Only red can move, anywhere from 00 to FF. Every egg is ## FF FF: some shade between cyan and white.
#00FFFF × Father#FFFFFF → Possible egg#80FFFFCalculator: what can this pair give?
Type two parents' codes for the same slot (for example both body codes) and, if you like, the colour you're aiming for. The bars show where each part of the egg's code can land.
#E8C200 lightest corner #FFD74A#FFD700 is possible from this pair: every channel can land on it.
The calculator shows the range, which follows straight from the rule above. It doesn't give odds: OviPets doesn't publish how values are spread inside the range, and in our own breeding exact hits on a value between two different parents were rare.
How to breed towards a colour
- Write down the target as RR GG BB, for example Pure Gold
FF D7 00. The pure colour list has every code that earns a badge. - Fix the easy parts first. Parts at the very edge (
00orFF) are easiest: a pair where both parents already haveFFred will never lose it. - Pick mates that surround the target. If you need green
D7, one parent should be at or below it and the other at or above it, or both exactly on it. - Keep the eggs that come closest and pair them with each other in the next generation. Each generation narrows the range.
- Lock it in. Once two unrelated pets share the exact code in a slot, all their eggs keep it. Mind that related pets can't breed: see breeding pure lines.

Starting from the generator
The Lab's generator lets you pick colours for a new pet, but it adds randomness on purpose. A red, green or blue lock keeps that one part of every code exactly as you typed it; you can use one lock at a time. Higher research levels raise Gen Precision, so later generated pets land closer.

A common plan for a pure colour: generate several pets with the lock on the hardest channel, keep the ones closest on the other two, and breed from there. The Lab guide covers research levels and generator costs.
Frequently asked questions
How are colours inherited in OviPets?
Can two parents give an egg a colour outside their own?
How many colour slots does a pet have?
Why does the generator not give me the exact colour I typed?
Facts in this guide were checked against the game and the official OviPets help on November 30, 2026. Spotted something that changed? Send LonniE a message on OviPets.


