module Colors (
black, red, green, yellow, blue, magenta, cyan, white,
bblack, bred, bgreen, byellow, bblue, bmagenta, bcyan, bwhite) where
color :: String -> String -> String
color :: String -> String -> String
color String
c String
s = String
c forall a. [a] -> [a] -> [a]
++ String
s forall a. [a] -> [a] -> [a]
++ String
"\ESC[0m"
black :: String -> String
black :: String -> String
black = String -> String -> String
color String
"\ESC[30m"
red :: String -> String
red :: String -> String
red = String -> String -> String
color String
"\ESC[31m"
green :: String -> String
green :: String -> String
green = String -> String -> String
color String
"\ESC[32m"
yellow :: String -> String
yellow :: String -> String
yellow = String -> String -> String
color String
"\ESC[33m"
blue :: String -> String
blue :: String -> String
blue = String -> String -> String
color String
"\ESC[34m"
magenta :: String -> String
magenta :: String -> String
magenta = String -> String -> String
color String
"\ESC[35m"
cyan :: String -> String
cyan :: String -> String
cyan = String -> String -> String
color String
"\ESC[36m"
white :: String -> String
white :: String -> String
white = String -> String -> String
color String
"\ESC[37m"
bblack :: String -> String
bblack :: String -> String
bblack = String -> String -> String
color String
"\ESC[90m"
bred :: String -> String
bred :: String -> String
bred = String -> String -> String
color String
"\ESC[91m"
bgreen :: String -> String
bgreen :: String -> String
bgreen = String -> String -> String
color String
"\ESC[92m"
byellow :: String -> String
byellow :: String -> String
byellow = String -> String -> String
color String
"\ESC[93m"
bblue :: String -> String
bblue :: String -> String
bblue = String -> String -> String
color String
"\ESC[94m"
bmagenta :: String -> String
bmagenta :: String -> String
bmagenta = String -> String -> String
color String
"\ESC[95m"
bcyan :: String -> String
bcyan :: String -> String
bcyan = String -> String -> String
color String
"\ESC[96m"
bwhite :: String -> String
bwhite :: String -> String
bwhite = String -> String -> String
color String
"\ESC[97m"