I would say that it's an art, but like many forms of art, there are rules.
For example, if you were making music, there is a mathematical relationship between the frequencies of notes that many people would call pleasant. There is certainly a science to those ratios, and and if you deviate too...