Share via


NSColor.FromRgb Method

Definition

Overloads

FromRgb(Byte, Byte, Byte)

public static AppKit.NSColor FromRgb(byte red, byte green, byte blue);
static member FromRgb : byte * byte * byte -> AppKit.NSColor

Parameters

red
Byte
green
Byte
blue
Byte

Returns

Applies to

FromRgb(Int32, Int32, Int32)

public static AppKit.NSColor FromRgb(int red, int green, int blue);
static member FromRgb : int * int * int -> AppKit.NSColor

Parameters

red
Int32
green
Int32
blue
Int32

Returns

Applies to

FromRgb(NFloat, NFloat, NFloat)

public static AppKit.NSColor FromRgb(System.Runtime.InteropServices.NFloat red, System.Runtime.InteropServices.NFloat green, System.Runtime.InteropServices.NFloat blue);
static member FromRgb : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> AppKit.NSColor

Parameters

red
NFloat
green
NFloat
blue
NFloat

Returns

Applies to