Examples:
"Un homme grand" means 'a tall man', but "un grand homme" is more commonly 'a great man' (although it could also mean tall, depending on context or sophistication).
"Une voiture bleue" is the only correct way to say 'a blue car' ("une bleue voiture" would be grammatically wrong).
"Un petit homme noir" ('a short black man') is also correct, but "un noir homme petit" is absolutely wrong, as any other variation...
Generally, when both orders are allowed, emphasis is put on whichever comes first —the noun or its adjectives. Unless the sentence ends there, in which case the last word obviously resonates more.
Don't ask me why... It's logically as weird to me as it may seem to you. I only know from practice (like most French people I suspect) and I'm generally bad at explaining grammar (again like most, for it's really complicated). There's probably some rule somewhere about that, with three dozen exceptions, as usual in French.
¯\_(ツ)_/¯