RGB.this

Construct a color from a luminance and optional alpha value.

  1. this(ComponentType r, ComponentType g, ComponentType b, ComponentType a)
  2. this(ComponentType l, ComponentType a)
    struct RGB(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
    @safe pure nothrow @nogc
    this
    if (
    isNumeric!ComponentType_
    )
  3. this(const(C)[] hex)

Meta