diff options
Diffstat (limited to 'color_test.py')
-rwxr-xr-x | color_test.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/color_test.py b/color_test.py deleted file mode 100755 index 288707a..0000000 --- a/color_test.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python3 - -color = 0x0000ff -def rainbow_gen(color): - if (color & 0x0000ff == 0xff) and (color ^ 0xff0000 == 0xff) and (color ^ 0x00ff00 < 0xff): - color += 0x100 - color -= 1 - print("test") - - return color - -while True: - color = rainbow_gen(color) - print(hex(color)) - |