A generous donation from a Hull-based paint manufacturer is helping restore a historic Lincolnshire locomotive to its original appearance as part of its centenary celebrations.