It is absolutely not true that only white flowers can be colored. White flowers do not influence the final color that much, so for that reason this color is used a lot. By using other colors than white you can get different end results and also ...
Yes some pot plants will uptake absorbable flower dyes through the roots. But there are many plants which cannot do that. For that reason most pot plants are colored by dipping dye.