How To Make Custom Color Palettes for Digital Planners

All note taking and PDF annotation apps usually come with the same preset, default colors. Luckily, most of these same apps allow you to add custom colors to your pen selection. But which colors do you choose? How do you make sure the colors you choose are cohesive?