|
💻 TermColor User Manual
|


Public Member Functions | |
| Color8 (byte colorId) | |
| Color8 (byte r, byte g, byte b) | |
| ColorHSV | ToHSV () |
| ColorRGB | ToRGB () |
| override bool | Equals (object other) |
| override int | GetHashCode () |
| void | From< TColor > (in TColor color) |
Static Public Member Functions | |
| static bool | operator== (in Color8 a, in Color8 b) |
| static bool | operator!= (in Color8 a, in Color8 b) |
Properties | |
| byte | Color [get, set] |
| string | Foreground [get] |
| string | Background [get] |
Properties inherited from TermColor.ANSIColor | |
| string | Foreground [get] |
| string | Background [get] |
A color from 256-color palette.
|
inline |
Create a color from RGB
| r | Red component (in range 0 to 5) |
| g | Green component (in range 0 to 5) |
| b | Blue component (in range 0 to 5) |
|
inline |
Change this color to approximate color .
| TColor | Type of the color. |
| color | The color to approximate. |
Implements TermColor.IColor.
| TColor | : | IColor |
|
inline |
|
inline |