converts hexadecimal to hsl / CBG (color, brightnes, ghost) OOS : Only One Sprite It is the same code but adjusted for my project !