Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics.newColor( red, green, blue, alpha )
Usage
love.graphics.newColor( red, green, blue, alpha )
Arguments
redThe amount of red.
greenThe amount of green.
blueThe amount of blue.
alphaThe amount of alpha.
Returns
ColorA Color object containing the color data.
Examples
Example 1: Add a color. transparent_pink = love.graphics.newColor(246, 9, 104, 150);