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 )
Usage
love.graphics.newColor( red, green, blue )
Arguments
redThe amount of red.
greenThe amount of green.
blueThe amount of blue.
Returns
ColorA Color object containing the color data.
Examples
Example 1: Add a color. opaque_pink = love.graphics.newColor(246, 9, 104); -- the default alpha value (255) will be used