When your device is set to dark appearance, Notebooks displays your documents with light text on a dark background by default, overriding any custom colors you may have selected. To use your custom colors instead, simply turn off the setting Dark Mode for Document.

iPhone & iPad

Settings > General > Appearance

Mac

View Menu > Appearance

This option is available in dark appearance only.

Can I Use Custom Text and Background Colors in Dark Appearance?