In the visual arts, color theory or colour theory is a body of practical guidance to color mixing and the visual effects of a specific color combination. There are also definitions (or categories) of colors based on the color wheel: primary color, secondary color and tertiary color. Although color theory principles first appeared in the writings of Leone Battista Alberti (c.1435) and the notebooks of Leonardo da Vinci (c.1490), a tradition of "colory theory" began in the 18th century, initially within a partisan controversy over Isaac Newton's theory of color (Opticks, 1704) and the nature of primary colors. From there it developed as an independent artistic tradition with only superficial reference to colorimetry and vision science.
The foundations of pre-20th-century color theory were built around "pure" or ideal colors, characterized by sensory experiences rather than attributes of the physical world. This has led to a number of inaccuracies in traditional color theory principles that are not always remedied in modern formulations.
The most important problem has been a confusion between the behavior of light mixtures, called additive color, and the behavior of paint, ink, dye, or pigment mixtures, called subtractive color. This problem arises because the absorption of light by material substances follows different rules from the perception of light by the eye.
A second problem has been the failure to describe the very important effects of strong luminance (lightness) contrasts in the appearance of colors reflected from a surface (such as paints or inks) as opposed to colors of light; "colors" such as browns or ochres cannot appear in mixtures of light. Thus, a strong lightness contrast between a mid-valued yellow paint and a surrounding bright white makes the yellow appear to be green or brown, while a strong brightness contrast between a rainbow and the surrounding sky makes the yellow in a rainbow appear to be a fainter yellow, or white.