A little library for convert colors
Posted: Sun Feb 10, 2019 3:14 am
here are my library for convert color the github link is:
GITHUB LINK!!!
a little example:
GITHUB LINK!!!
a little example:
Code: Select all
require("colorized")
love.draw()
love.graphics.setBackgroundColor(hex("#fff")) --this will go turn the background into white and 1 of alpha
love.graphics.setColor(rgba(255, 140, 10)) --a type of orange i think
love.graphics.setColor(vec4(0, 0, 50, 0.5)) --dark blue with parcial alpha
love.graphics.setColor(hex("#a2f5a1")) --i dont know ;D
end