To my understanding, all colors are given an equal probability, with some caveats. However, this can have different answers depending on exactly how you ask the question.
The chances that [a random egg matches a specific G1] is (1/177)^3 = about 1.8 * 10^-7 =
1/5,545,233.
The chances that [a random egg matches ANY existing G1] is...I don't have enough info to calculate this, but it's MUCH more likely than the above. The actual math is not difficult, but the question is, how many "different" G1s are there? I think you'd have to brute-force the search for every possible color combo + G1.
The chances that [a random egg matches any existing G1 in a specific person's lair] would be much easier to calculate because it's much easier to scan a single lair and figure out how many different G1 color combos they have. If someone has, say, 50 different-combo G1s, then it's as simple as 50*(1/177)^3 = about 9 * 10^-6 = about
1/110,904.
(If they have exactly 50 G1s but that's
including a pair of twins, you would only do 49 in the equation!)
The chances that [from a batch of random eggs, at least 2 of them have identical colors] depends of course on the number of eggs. I mean, if you hatched 2 eggs it would be the 1/5.5 million number above, but if you hatched (1+177^3) eggs then it would be
guaranteed. How about a more realistic number of eggs?
If you hatch 15 random eggs, the chances that any
specific baby matches another
specific baby in the set is the same 1/5.5mil. But the chance that
any baby matches
any other in the set is…I’m going to be honest I can’t figure out the general case here so I’m putting it into WolframAlpha. The answer for 15 eggs is
1/52,812.
Here’s what I put in WolframAlpha: ((x-1)(x-2)(x-3)(x-4)(x-5)(x-6)(x-7)(x-8)(x-9)(x-10)(x-11)(x-12)(x-13)(x-14))/x^14 if x=5545233
Another way to write it would be (x/x)*([x-1]/x)*([x-2]/x)*([x-3]/x)*([x-4]/x)*([x-5]/x)*([x-6]/x)*([x-7]/x)*([x-8]/x)*([x-9]/x)*([x-10]/x)*([x-11]/x)*([x-12]/x)*([x-13]/x)*([x-14]/x) if x=5545233
and in this case the (x/x) is a factor of 1, which you can ignore because multiplication by 1.
WolframAlpha gives a number that is about 0.99999, but what does this mean? I asked it not for the chance of some babies matching, but for the chance that NONE of them match. Do 1-[that] and get about 1.89 * 10^5 = about 1/52,812.
The x is used only to make it easier to type. In this case, “x” is specifically 5545233 because that’s the number of different possible color outcomes. It is not a changing variable; I just didn’t want to type that ugly number a million times. It represents that the chance that the second baby doesn’t match the first is (5545232/5545233); the chance that the third matches neither the first nor the second is (5545231/5545233); the chance that the fourth matches none of the first three is (5545230/5545233); and so on.
Okay, that’s 15 egg, but what if I hatch 10 eggs, or 20? You’d use the same basic form of math input, but only going to 10 or 20 or whatever number. Like, for 10 it would be “ ((x-1)(x-2)(x-3)(x-4)(x-5)(x-6)(x-7)(x-8)(x-9))/x^9 if x=5545233 “ which gives you another about 0.99999, then do 1-[that] = about 8.1*10^-6 = about
1/123,227.
There is almost certainly a more elegant way to do that, but my brain is breaking right now, and when I try to look up math cases similar to this, I’m getting results of people discussing tarot on Reddit. RIP
The caveats are: at some point there was a color wheel expansion, so dragons hatched prior to that date are picking from a smaller selection of colors, unless they got scatterscrolled later. I'm also pretty sure that progens are still restricted to the smaller color selection, though they can also be scatterscrolled to the entire range. This doesn't affect random eggs hatched nowadays because they are not subject to the restrictions of un-scatterscrolled old dragons or un-scatterscrolled progens, but it
does create discrepancies in frequency of colors that
already exist (or exist on progens).
There are other ways that you could ask a similar question, but I think this should pretty much cover the spirit of it.