Format colours for posts and editor