Last active
February 18, 2021 09:07
-
-
Save xphere/aca4296c3de673026557e88d3c3ebaa1 to your computer and use it in GitHub Desktop.
Show all console color combinations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
$(call colors) | |
define colors | |
$(foreach in,$(shell seq 0 9),$(foreach bg,$(shell seq 30 39),@echo -e $(foreach fg,$(shell seq 40 49),"\033[$(in);$(bg);$(fg)m $(in);$(bg);$(fg) \033[0m") | |
)) | |
endef |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment