This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from colour import Color | |
from x256 import x256 | |
def scale_256(rgb, direction): | |
factor = 256 | |
new = list() | |
for value in rgb: |