The OpenD Programming Language

std.experimental.color.hsx

This module implements HSV, HSL, HSI, HCY, HWB, HCG _color types.

This family of _color spaces represent various cylindrical mappings of the RGB color space.

Members

Aliases

HCG
alias HCG(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HCG, CT, cs)

Alias for a HCG color.

HCY
alias HCY(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HCY, CT, cs)

Alias for a HCY' color.

HSI
alias HSI(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HSI, CT, cs)

Alias for a HSI color.

HSL
alias HSL(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HSL, CT, cs)

Alias for a HSL color.

HSV
alias HSV(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HSV, CT, cs)

Alias for a HSV (HSB) color.

HWB
alias HWB(CT = float, RGBColorSpace cs = RGBColorSpace.sRGB) = HSx!(HSxType.HWB, CT, cs)

Alias for a HWB color.

Enums

HSxType
enum HSxType

Define a HSx family color type.

isHSx
eponymoustemplate isHSx(T)

Detect whether T is a member of the HSx color family.

Structs

HSx
struct HSx(HSxType type_, ComponentType_ = float, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)

HSx color space is used to describe a suite of angular color spaces including HSL, HSV, HSI, HCY.

Meta

Authors

Manu Evans