[DF-31] Fix warnings and crash in custom colors.