diff --git a/src/snek/service/util.py b/src/snek/service/util.py new file mode 100644 index 0000000..5550a8c --- /dev/null +++ b/src/snek/service/util.py @@ -0,0 +1,15 @@ +import random + + +from snek.system.service import BaseService + + +class UtilService(BaseService): + + async def random_light_hex_color(self): + + r = random.randint(128, 255) + g = random.randint(128, 255) + b = random.randint(128, 255) + + return "#{:02x}{:02x}{:02x}".format(r, g, b) \ No newline at end of file