Create a Color from the specified doubles.
Create a Color from a X11 color specification string
The value for hue as a an angle between 0 and 360 degrees.
The value for the luminance as a double in the range [0.0 .. 1.0]
The value for the luminance as a double in the range [0.0 .. 1.0]
The value the saturation as a double 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 HSL color model describes a color by using the three color components hue (H), saturation (S) and luminance (L). This color format is very popular for designing and editing (e.g. within graphics design tools) because it gives the user a good impression about the resulting color for a certain color value: Hue defines the pure color tone out of the color spectrum, saturation defines the mixture of the color tone with gray and finally luminance defines the lightness of the resulting color.