nvgRGBA

Returns a color value from string form. Supports: "#rgb", "#rrggbb", "#argb", "#aarrggbb"

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

See Also

Meta