Difference between revisions of "ScriptCore3.RGB"
(new page) |
m (→Example) |
||
Line 14: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | [[Category: | + | [[Category:Functions]] |
Latest revision as of 16:09, 22 August 2013
function RGB(R, G, B: Byte): LongWord R/G/B: intensity of Red/Green/Blue Result: result color in a LongWord format
Description
This function generates LongWord representation of a color
described by Red/Green/Blue intesities
Example
begin
WriteLn(inttostr(RGB(255,255,255))); // 16777215
WriteLn(inttostr(RGB(0,0,0))); // 0
end.