rgba

Creates an RGBA color.

  1. Color!ubyte rgba(ubyte[] data)
  2. Color!ubyte rgba(ubyte red, ubyte green, ubyte blue, ubyte alpha)
    @safe nothrow pure
    Color!ubyte
    rgba
    (
    ubyte red
    ,
    ubyte green
    ,
    ubyte blue
    ,
    ubyte alpha
    )

Parameters

red ubyte

Red.

green ubyte

Green.

blue ubyte

Blue.

alpha ubyte

Alpha.

Return Value

Type: Color!ubyte

RGBA

Meta