I wanted to create a class where I can predefine colors which i then use inside my project. This code was copied from another tutorial and worked before, however I now recei