Synthesis of bio-based epoxy resin from gallic acid with various epoxy equivalent weights and its effects on coating properties