AnsiColorMode
in package
Tags
Table of Contents
Cases
Methods
- convertFromHexToAnsiColorCode() : string
- Converts an RGB hexadecimal color to the corresponding Ansi code.
Cases
Ansi4
Ansi8
Ansi24
Methods
convertFromHexToAnsiColorCode()
Converts an RGB hexadecimal color to the corresponding Ansi code.
public
convertFromHexToAnsiColorCode(string $hexColor) : string
Parameters
- $hexColor : string