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.setColor( red, green, blue )
Usage
love.graphics.setColor( red, green, blue )
Arguments
redThe amount of red.
greenThe amount of green.
blueThe amount of blue.
Returns
Nothing
Examples
Example 1: Set the current color as blue. love.graphics.setColor(10, 10, 255) -- the default alpha value (255) will be used