You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
underline, bold, italic, inverse etc... text colors
Improvements with escape sequence to support more colors, eg:
PS C:\>"`e[38;5;100mSample\`e[0m"
Note:
ESC[ char is e`
256-colors
ESC[38;5;⟨n⟩m Select foreground color
ESC[48;5;⟨n⟩m Select background color
0- 7: standard colors (as in ESC [ 30–37 m)
8- 15: high intensity colors (as in ESC [ 90–97 m)
16-231: 6 × 6 × 6 cube (216 colors): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5)
232-255: grayscale from black to white in 24 steps
24-bits:
ESC[38;2;⟨r⟩;⟨g⟩;⟨b⟩mSelect RGB foreground color
ESC[ 48;2;⟨r⟩;⟨g⟩;⟨b⟩ m Select RGB background color
Themes
ESC[
escape codesImprovements with escape sequence to support more colors, eg:
Note:
256-colors
24-bits:
the sequence must end with:
eg 24-bits
"`e[38;2;255;128;64mRGB Text`e[0m"
more info on VT100 ansi terminal:
it is possible to underline text, bold, etc and so on too.
The text was updated successfully, but these errors were encountered: