RGB

From QB64 Wiki
Revision as of 21:00, 7 November 2009 by imported>Clippy (Created page with 'The '''_RGB''' function returns the closest palette index or 32 bit color. ''Syntax:'' paletteindex = _RGB(red, green, blue[, image_handle]) ''See also:'' RGBA, [[RGBA32…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _RGB function returns the closest palette index or 32 bit color.


Syntax: paletteindex = _RGB(red, green, blue[, image_handle])


See also: RGBA, RGBA32