värikulma
Värikulma, also known as the *color angle* or *hue angle*, is a concept used in color theory and colorimetry to describe the position of a color within the chromaticity diagram, specifically the CIE 1931 color space. It is measured in degrees and represents the angle formed between the reference white point and the color point on the CIE chromaticity diagram, which plots colors based on their x and y coordinates.
The CIE chromaticity diagram is a two-dimensional representation of human color perception, where the x and
To calculate the värikulma, the arctangent of the ratio between the y and x coordinates of a
värikulma = arctan((y / x) * (1 - x) / y)
However, a more precise method involves converting the CIE xy coordinates to a hue angle using the
1. Calculate the intermediate values: r = (1 - x) / y and g = (y - y') / (x - x'), where
2. Determine the hue angle based on the quadrant of the color point, accounting for the spectral
Värikulma is particularly useful in fields such as graphic design, digital imaging, and color science, where