RGB.this

Construct a color from a hex string.

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

Meta