Hello! Please check the color mode of your document, (Image>Mode) or that the Color panel (they are not called palettes anymore) is not set to greyscale (the contextual menu is available on the right side of the panel)

Also, it is possible to select the color mode of the document when you create a new one.