#!/bin/sh
foreground=e0e0e0
background=000000
regular0=222222  # black
regular1=bf1541  # red
regular2=55b750  # green
regular3=b91f92  # yellow
regular4=3436a7  # blue
regular5=771cb7  # magenta
regular6=1c81e6  # cyan
regular7=d0d0d0  # white
bright0=808080   # bright black
bright1=f91b55   # bright red
bright2=77dd77   # bright green
bright3=da61c2   # bright yellow
bright4=4456fa   # bright blue
bright5=a63fc8   # bright magenta
bright6=4a9be8   # bright cyan
bright7=ffffff   # bright white
if [[ "$TERM" = "vt102" || "$TERM" = "linux" ]]; then
	printf "\e]P$background\e]P1$regular1\e]P2$regular2\e]P3$regular3\e]P4$regular4\e]P5$regular5\e]P6$regular6\e]P7$foreground\e]P8$bright0\e]P9$bright1\e]PA$bright2\e]PB$bright3\e]PC$bright4\e]PD$bright5\e]PE$bright6\e]PF$bright7"
fi
