how are old paint colors figured out ?

there are recipes for mixing.