nvgRGB

Returns a color value from red, green, blue values. Alpha will be set to 255 (1.0f).

  1. NVGColor nvgRGB(const(char)[] srgb)
  2. NVGColor nvgRGB(int r, int g, int b)
    nothrow @trusted @nogc
    nvgRGB
    (
    int r
    ,
    int g
    ,
    int b
    )

See Also

Suggestion Box / Bug Report