The OpenD Programming Language

nvgRGB

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

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

See Also

Meta