rgb

Creates an RGB color.

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

Parameters

red ubyte

Red.

green ubyte

Green.

blue ubyte

Blue.

Return Value

Type: Color!ubyte

RGBA

Meta