From b73838f58bd370a507982786dede11f72cc1fd02 Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 21 Dec 2023 16:14:14 +0100 Subject: [PATCH] zsh: colors: add info about ansi colors --- colors.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/colors.zsh b/colors.zsh index 774b100..3b6e3f7 100755 --- a/colors.zsh +++ b/colors.zsh @@ -1,3 +1,9 @@ +# ansi colors are pretty simple. In 256 color mode, for a given +# (r, g, b) tuple: +# \x1b[38;2;r;g;bm - foreground +# \x1b[48;2;r;g;bm - background + + # ANSI COLOR ESCAPES # CLEAR CLEAR='\e[0m' # CLEAR