Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

Color

Color:Void red:Int32, green:Int32, blue:Int32
Parameter Mode Type Default Description
red In Int32 required Red part, 0 to 255.
green In Int32 required Green part, 0 to 255.
blue In Int32 required Blue part, 0 to 255.

Description

Sets the color that Plot, Line, Rect, Oval and Text draw with.

Examples

Graphics 320, 240, 0, 2
SetBuffer BackBuffer()
Cls
For i = 0 To 7
	Color i * 36, 255 - i * 36, 128
	Rect 10 + i * 38, 80, 30, 80, 1
Next
Flip
WaitKey

Media

Color

Related Commands

ClsColor, ColorBlue, ColorGreen, ColorRed, GetColor

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally