-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcolors_test.rn
executable file
·58 lines (56 loc) · 2.76 KB
/
colors_test.rn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import colorlib
# Print colored text to the console using the colorlib library
print(colorlib.white("My name is John Doe"))
print(colorlib.red("My name is John Doe"))
print(colorlib.green("My name is John Doe"))
print(colorlib.yellow("My name is John Doe"))
print(colorlib.blue("My name is John Doe"))
print(colorlib.purple("My name is John Doe"))
print(colorlib.cyan("My name is John Doe"))
print(colorlib.gray("My name is John Doe"))
print(colorlib.black("My name is John Doe"))
print(colorlib.bgWhite("My name is John Doe"))
print(colorlib.bgRed("My name is John Doe"))
print(colorlib.bgGreen("My name is John Doe"))
print(colorlib.bgYellow("My name is John Doe"))
print(colorlib.bgBlue("My name is John Doe"))
print(colorlib.bgPurple("My name is John Doe"))
print(colorlib.bgCyan("My name is John Doe"))
print(colorlib.bgGray("My name is John Doe"))
print(colorlib.bgBlack("My name is John Doe"))
print(colorlib.bold("My name is John Doe"))
print(colorlib.italic("My name is John Doe"))
print(colorlib.underline("My name is John Doe"))
print(colorlib.inverse("My name is John Doe"))
print(colorlib.hidden("My name is John Doe"))
print(colorlib.strikethrough("My name is John Doe"))
print(colorlib.blackBright("My name is John Doe"))
print(colorlib.redBright("My name is John Doe"))
print(colorlib.greenBright("My name is John Doe"))
print(colorlib.yellowBright("My name is John Doe"))
print(colorlib.blueBright("My name is John Doe"))
print(colorlib.purpleBright("My name is John Doe"))
print(colorlib.cyanBright("My name is John Doe"))
print(colorlib.whiteBright("My name is John Doe"))
print(colorlib.bgBlackBright("My name is John Doe"))
print(colorlib.bgRedBright("My name is John Doe"))
print(colorlib.bgGreenBright("My name is John Doe"))
print(colorlib.bgYellowBright("My name is John Doe"))
print(colorlib.bgBlueBright("My name is John Doe"))
print(colorlib.bgPurpleBright("My name is John Doe"))
print(colorlib.bgCyanBright("My name is John Doe"))
print(colorlib.bgWhiteBright("My name is John Doe"))
print(colorlib.reset("My name is John Doe"))
print(colorlib.bold("My name is John Doe"))
print(colorlib.italic("My name is John Doe"))
print(colorlib.underline("My name is John Doe"))
print(colorlib.inverse("My name is John Doe"))
print(colorlib.hidden("My name is John Doe"))
print(colorlib.strikethrough("My name is John Doe"))
print(colorlib.bgReset("My name is John Doe"))
print(colorlib.bgBoldBright("My name is John Doe"))
# chaining multiple styles and colorlibs combined multiple times
print(colorlib.bold(colorlib.bgPurple(colorlib.white("My name is John Doe"))))
print(colorlib.italic(colorlib.bgRed(colorlib.green("My name is John Doe"))))
print(colorlib.underline(colorlib.bgYellow(colorlib.blue("My name is John Doe"))))
print(colorlib.inverse(colorlib.bgBlue(colorlib.yellow("My name is John Doe"))))