Why are the color palettes different?

Why are there different colors in the color palettes in the Designer section and the Blocks section? I have a hard time finding the same color when I change colors with codes. Can’t the same colors be used in both palettes? I request this from the developers.