Elegance is beauty that shows unusual effectiveness and simplicity. It is frequently used as a standard of tastefulness particularly in the areas of visual design, decoration, the sciences, and the aesthetics of mathematics. Elegant things exhibit refined and dignified propriety.
Essential components of the concept include simplicity and consistency of design, focusing on the essential features of an object. In art of any kind one might also require dignified grace, or restrained beauty of style.
Visual stimuli are frequently considered elegant if a small number of colors and stimuli are used, emphasizing the remainder.
In the philosophy of science, there are two concepts referring to two aspects of simplicity. Elegance (syntactic simplicity) means the number and complexity of hypotheses. Parsimony (ontological simplicity) is the number and complexity of things postulated.
The proof of a mathematical theorem exhibits mathematical elegance if it is surprisingly simple yet effective and constructive; similarly, a computer program or algorithm is elegant if it uses a small amount of code to great effect.