By the iOS 13 users are allowed to set colour mode - light or dark. So all the developing applications have to be adapted to the both designs. All the colours that were created with hex, colorLiteral are becoming unadapted to colour schemes. For this moment there is a number of approaches to create a "dynamic" colour.