color

Create a color from RGBA values.

  1. Color color(ubyte r, ubyte g, ubyte b, ubyte a)
    @safe pure nothrow
    color
    (
    ubyte r
    ,
    ubyte g
    ,
    ubyte b
    ,
    ubyte a = ubyte.max
    )
  2. Color color()
  3. Color color(string hexCode)

Meta