rgb

Construct an RGB (RGBA with full alpha) color from individual channels.

  1. Color rgb(I r, I g, I b)
    rgb
    @safe pure nothrow @nogc
    (
    I
    )
    (
    I r
    ,
    I g
    ,
    I b
    )
    if (
    isIntegral!I
    )
  2. template rgb(string c)

Meta