Class TrueColor
Indicates the RGB for true colors.
Inheritance
System.Object
TrueColor
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TrueColor
Constructors
| Improve this Doc View SourceTrueColor(Int32, Int32, Int32)
Initializes a new instance of the TrueColor struct.
Declaration
public TrueColor(int red, int green, int blue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | red | |
System.Int32 | green | |
System.Int32 | blue |
Properties
| Improve this Doc View SourceBlue
Blue color component.
Declaration
public int Blue { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Green
Green color component.
Declaration
public int Green { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Red
Red color component.
Declaration
public int Red { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceToConsoleColor()
Converts true color to console color.
Declaration
public Color ToConsoleColor()
Returns
Type | Description |
---|---|
Color |