Create a YUV Color from the specified doubles.
Create a Color from a X11 color specification string
The value for U chrominance component in the range [-0.5 .. 0.5]
The value for U chrominance component in the range [-0.5 .. 0.5]
The value for V chrominance component in the range [-0.5 .. 0.5]
The value for the luminance in the range [0.0 .. 1.0]
Returns the value as a hex string.
Support casting between different colors. You can also use std.conv.to
The value for red in the range [0 .. QuantumRange]
The value for green in the range [0 .. QuantumRange]
The value for blue in the range [0 .. QuantumRange]
The opacity as a byte. [0 .. 255]
The value for opacity in the range [0 .. QuantumRange]
The value for opacity as a double in the range [0.0 .. 1.0]
The intensity of this color.
Create a copy of this Color.
Returns the name of the color or the value as a hex string.
The YUV color format describes a color by using the color components luminance and chrominance. The luminance component (Y) represents the brightness information of a color, the chrominance components (U and V) contain the color differences.
The YUV color format was developed for analog TV transmissions to provide compatibility between black-and-white television and color television: The luminance component is sufficient for black-and-white TV sets, whereas color TV sets need the additional chrominance information.