Issue #5803: Update the color when loaded resources

Issue #5803: Update the color when loaded resources