Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 299 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 299 Bytes

hex2color

The name is pretty self-explanatory. Use HEX color values in LÖVE.

How to

Color = require "hex2color"

pink = Color("#ea306d")

Color(hex, opacity)

returns a table representing the color

  • hex - the color value starting with #
  • opacity - opacity value [0, 1]