Create a Color from the specified Quantums.
Create a Color from a X11 color specification string
Create a Color from this PixelPacket.
Create a Color and set the internal pointer to this PixelPacket. We can use this to change pixels in an image through Color.
The value for blue in the range [0 .. QuantumRange]
Create a copy of this Color.
The value for green in the range [0 .. QuantumRange]
The intensity of this color.
Returns the name of the color or the value as a hex string.
Support casting between different colors. You can also use std.conv.to
The value for opacity as a double in the range [0.0 .. 1.0]
The opacity as a byte. [0 .. 255]
The value for opacity in the range [0 .. QuantumRange]
The value for red in the range [0 .. QuantumRange]
Returns the value as a hex string.
A container for the pixel values: red, green, blue and opacity.