Here is a breakdown of how each biofilm works. All biofilms slowly grow and decay and spawn biofilm bacteria over time, but the timing is different for each one. Each biofilm has different effects on the player, depending on the colour.

This is the “cleanse” biofilm. It removes any harmful effects caused by other biofilms. Being coated in this slime will also protect you from the effects of other biofilms until it wears off. This only protects against harmful biofilm effects, not predators.
A sparkle effect appears on your character to indicate that the cleanse effect is working.
Note: There are some inconsistencies with the sparkle effect. This is a known issue, no need to report.

The orange biofilm adds a “scent” effect that makes you more attractive to predators. You’ll see orange clouds coming from your character, spreading more when the effect is stronger.
You should see both Stylo and Colpoda start coming after you when this effect is active, and it should force you to move around more than normal to avoid the extra predator attention.

The darker blue biofilm uses your boost energy to charge a shield which grants immunity to predators. It takes 25% of your boost energy to charge one layer of the shield, so you can have up to 4 layers.
Each layer of the slime shield protects you from one predator attack. Any contact from a predator that would normally kill you will remove one slime layer, and you’ll see a short particle burst to indicate that you were protected and lost a shield.
Notes:
Blue does not leave a slime trail since its effect doesn’t wear off over time (this is likely to change going forward).
The biofilm will drain your boost even if it’s not enough to charge a shield layer or if you have 4 full layers, so you may want to avoid it if you have less than 25% boost energy available, or full shield layers.

Purple biofilms cause a confusion effect, which inverts your controls until it wears off. There is no difference in how the effect works if you stay on the biofilm longer, but it will accumulate and take longer to wear off once you leave.