(AGK version: 108.13)
Submitted: 2013-06-24 13:58:06
Setvirtualresolution(640,480)
ResetTimer()

text$="Example Text"
CreateText(1,text$)
SetTextSize(1,35)
SetTextPosition(1,10,100)

Repeat

    SetTextColor( 1, Random(0,255), Random(0,255), Random(0,255), Random(100,255) )
    Sleep(250)
    Sync()

Until Timer()>12
End
(AGK version: 108.21)
Submitted: 2014-06-27 05:23:51
// RGB <-> r,g,b 
function Red(color)
    Red = mod(color, 256)
EndFunction red

function blue(color)
    blue = mod((color/256),256)
EndFunction blue

function green(color)
    green = mod((color/(256*256)), 256)
EndFunction green

Function RGB(r,g,b)
    color = r +g*256 + b*256*256
EndFunction color
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.