In Excel, this is done by setting this option on the format cells dialog, the protection tab. It allows you to hide the formula when the sheet is protected.
The XlsxFormatProvider could throw FormatException: 'Input string was not in a correct format.' while parsing a color definition. Suppress such errors so that the document can be imported and use default values for the colors.