Skip to content

Commit

Permalink
[+] Setup Bash and vividHues.py
Browse files Browse the repository at this point in the history
[+] Added class with colours
  • Loading branch information
KennyOliver committed Mar 3, 2021
1 parent b7a6191 commit 7c1b1c7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language = "python3"
run = "python vividHues.py"
17 changes: 17 additions & 0 deletions vividHues.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import os
os.system("") #allows colours to be displayed in the console

class Clr:
BLACK = "\033[30m"
RED = "\033[31m"
GREEN = "\033[32m"
YELLOW = "\033[33m"
BLUE = "\033[34m"
MAGENTA = "\033[35m"
CYAN = "\033[36m"
WHITE = "\033[37m"
UNDERLINE = "\033[4m"
RESET = "\033[0m"

print(Clr.RED, "Hi there!" ,Clr.RESET)
print("HI")

0 comments on commit 7c1b1c7

Please sign in to comment.