PSStyle.ForegroundColor.FromRgb Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromRgb(Int32) |
The color set as RGB as a single number. |
FromRgb(Byte, Byte, Byte) |
Set as RGB (Red, Green, Blue). |
FromRgb(Int32)
FromRgb(Byte, Byte, Byte)
Set as RGB (Red, Green, Blue).
public string FromRgb (byte red, byte green, byte blue);
member this.FromRgb : byte * byte * byte -> string
Public Function FromRgb (red As Byte, green As Byte, blue As Byte) As String
Parameters
- red
- Byte
Byte value representing red.
- green
- Byte
Byte value representing green.
- blue
- Byte
Byte value representing blue.
Returns
String representing ANSI code for RGB value.