Difference between revisions of "RGB"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Cyperium
Line 1: Line 1:
The '''_RGB''' function returns the closest palette index or 32 bit color value.
+
The {{KW|_RGB}} function returns the closest palette index or 32 bit color value.
  
  
''Syntax:'' colorindex = _RGB(red, green, blue[, image_handle])
+
:<code>{{Parameter|colorindex}} = {{KW|_RGB}}({{Parameter|red}}, {{Parameter|green}}, {{Parameter|blue}}[, {{Parameter|image_handle}}])</code>
  
  
  
''See also:'' [[_RGB32]], [[_RGBA]], [[_RGBA32]], [[_LOADIMAGE]]
 
  
 +
{{PageSeeAlso}}
 +
*{{KW|_RGB32}}, {{KW|_RGBA}}, {{KW|_RGBA32}}, {{KW|_LOADIMAGE}}
  
  
 
+
{{PageNavigation}}
==Navigation:==
 
 
 
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 
 
 
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]
 

Revision as of 23:42, 26 February 2010

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


colorindex = _RGB(red, green, blue[, image_handle])



See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page