The colors in FMX pass by some data types, namely TAlphaColor, TAlphaColorRec, and TAlphaColorF. They are all numerical representations of an RGB + Alpha interpretation of colors (this is a typical choice in visual programming).
The TColorAnimation component helps you implement color transitions between two colors. The interpolation is linear and is applied over the four color components (R, G, B and alpha channels) independently. I am not going to talk about color theory here; I just want you to understand that this is an arbitrary choice and that other interpretations exist (Cyan, Magenta, Yellow, and Black (CMYK); Hue, Saturation, and Lightness (HSL); and Hue, Saturation, and Value (HSV) are other such options).
If you set up a color animation going from red to blue, for instance, you can track the steps through the usual OnProcess event handler, as we did previously. The following table briefly shows the kind of result you may expect:
R | G | B | ...