Converts a 3 dimensional color-vector from the HSV to the RGB colorspace. RGB colors will be in the range [0, 1]. This function is not marked es pure, since it depends on std.math.floor, which is also not pure.
Converts a 4 dimensional color-vector from the HSV to the RGB colorspace. The alpha value is not touched and the resulting RGB colors will be in the range [0, 1].
Converts a 3 dimensional color-vector from the RGB to the HSV colorspace. The function assumes that each component is in the range [0, 1].
Converts a 4 dimensional color-vector from the RGB to the HSV colorspace. The alpha value is not touched. This function also assumes that each component is in the range [0, 1].