First, determine which section is causing the error. Second, fix the error and then test the template.
A list of items that you might check to troubleshoot the issue---
Check all color fields on the Quote Template Detail to make sure their values are a valid Hexadecimal color code. Using Data Loader to migrate from Sandbox to Production can cause a value of "000000" to be saved as "0". Also check all color fields in all template sections by clicking on the Section Name in the Sections related list on the Quote Template record. If this was caused by a data migration using a spreadsheet and Data Loader, you may be able to prevent this by ensuring that your cells in the spreadsheet are formatted as text and not as numbers.
000383958

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.