It's best to use gel food coloring for bright rainbow cake colors. Professional-grade gel food coloring works better than liquid. It gives more intense and lasting colors.