Turn on the Sync Category Colors switch

In the top right corner of a dashboard page, the caret dropdown will open up a dropdown with a few different settings, including the switch for syncing category colors.

Turning this own will ensure that categories will display with the same color across the entire dashboard.